changeset 24892:ea28a7b9113c

Compilation fixes for OpenBSD from the OpenBSD ports tree. Closes #8009.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 06 Jan 2009 15:34:26 +0000
parents dcf2f613a6a6
children 253e5d3988ca
files finch/libgnt/gntmain.c finch/libgnt/gntwm.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c	Tue Jan 06 15:30:12 2009 +0000
+++ b/finch/libgnt/gntmain.c	Tue Jan 06 15:34:26 2009 +0000
@@ -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
 
--- a/finch/libgnt/gntwm.c	Tue Jan 06 15:30:12 2009 +0000
+++ b/finch/libgnt/gntwm.c	Tue Jan 06 15:34:26 2009 +0000
@@ -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