ORBit2 r2095 - in branches/gnome-2-24/linc2: . src
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: ORBit2 r2095 - in branches/gnome-2-24/linc2: . src
- Date: Thu, 2 Oct 2008 11:16:52 +0000 (UTC)
Author: tml
Date: Thu Oct 2 11:16:52 2008
New Revision: 2095
URL: http://svn.gnome.org/viewvc/ORBit2?rev=2095&view=rev
Log:
2008-10-02 Tor Lillqvist <tml novell com>
* linc2/src/linc-debug.h: Always turn on the debug printout possibility
on Windows.
* linc2/src/Makefile.am: Don't use -DGNU_SOURCE on Windows as it
confuses newest mingw headers.
Modified:
branches/gnome-2-24/linc2/ChangeLog
branches/gnome-2-24/linc2/src/Makefile.am
branches/gnome-2-24/linc2/src/linc-debug.h
Modified: branches/gnome-2-24/linc2/src/Makefile.am
==============================================================================
--- branches/gnome-2-24/linc2/src/Makefile.am (original)
+++ branches/gnome-2-24/linc2/src/Makefile.am Thu Oct 2 11:16:52 2008
@@ -13,8 +13,12 @@
-I$(top_srcdir)/linc2/include \
$(LINC_CFLAGS) \
$(WARN_CFLAGS) \
- -DG_DISABLE_DEPRECATED \
- -D_GNU_SOURCE
+ -DG_DISABLE_DEPRECATED
+
+if OS_WIN32
+else
+INCLUDES += -D_GNU_SOURCE
+endif
liblinc_la_SOURCES = \
linc.c \
Modified: branches/gnome-2-24/linc2/src/linc-debug.h
==============================================================================
--- branches/gnome-2-24/linc2/src/linc-debug.h (original)
+++ branches/gnome-2-24/linc2/src/linc-debug.h Thu Oct 2 11:16:52 2008
@@ -4,6 +4,13 @@
/* Enables debug printout for the socket / connection */
#undef CONNECTION_DEBUG
+/* Always turn on the possibility to get debug printout on Windows as
+ * it is much more often needed there.
+ */
+#ifdef _WIN32
+#define CONNECTION_DEBUG
+#endif
+
/* If CONNECTION_DEBUG is defined, define this to make it selectable
* at runtime by setting the LINK_CONNECTION_DEBUG env var.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]