pidgin: b17f5a8d: Compilation fixes for OpenBSD from the O...

sadrul at pidgin.im sadrul at pidgin.im
Tue Jan 6 17:46:22 EST 2009


-----------------------------------------------------------------
Revision: b17f5a8d5ea616bc3b0bf4e5bfb21cd7c63c0bb2
Ancestor: 46528c7f7f4ff963e7c48587e615888721b5a7d3
Author: sadrul at pidgin.im
Date: 2009-01-06T15:34:26
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b17f5a8d5ea616bc3b0bf4e5bfb21cd7c63c0bb2

Modified files:
        finch/libgnt/gntmain.c finch/libgnt/gntwm.c

ChangeLog: 

Compilation fixes for OpenBSD from the OpenBSD ports tree. Closes #8009.

-------------- next part --------------
============================================================
--- finch/libgnt/gntmain.c	c45223fca436f7f68669e693b7271da50b25e57a
+++ finch/libgnt/gntmain.c	bbbfd92b260bd321efb987edcacc0c27f7e35b9e
@@ -21,7 +21,7 @@
  */
 
 #define _GNU_SOURCE
-#if (defined(__APPLE__) || defined(__unix__)) && !defined(__FreeBSD__)
+#if (defined(__APPLE__) || defined(__unix__)) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
 #define _XOPEN_SOURCE_EXTENDED
 #endif
 
============================================================
--- finch/libgnt/gntwm.c	b1ddd57958275d53952c70d88ab919a185f01ef5
+++ finch/libgnt/gntwm.c	0483c8f03b832821b34794311444bdb496e41cb4
@@ -26,7 +26,7 @@
 #include <Python.h>
 #else
 #define _GNU_SOURCE
-#if (defined(__APPLE__) || defined(__unix__)) && !defined(__FreeBSD__)
+#if (defined(__APPLE__) || defined(__unix__)) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
 #define _XOPEN_SOURCE_EXTENDED
 #endif
 #endif


More information about the Commits mailing list