[Freeswitch-svn] [commit] r10755 - freeswitch/trunk/src/include

FreeSWITCH SVN mikej at freeswitch.org
Sun Dec 14 08:38:22 PST 2008


Author: mikej
Date: Sun Dec 14 11:38:21 2008
New Revision: 10755

Log:
FSCORE-252 Core NetBSD features are disabled if _XOPEN_SOURCE is defined

Modified:
   freeswitch/trunk/src/include/switch.h

Modified: freeswitch/trunk/src/include/switch.h
==============================================================================
--- freeswitch/trunk/src/include/switch.h	(original)
+++ freeswitch/trunk/src/include/switch.h	Sun Dec 14 11:38:21 2008
@@ -54,7 +54,7 @@
 #define FREESWITCH_ITAD "543"
 #define __EXTENSIONS__ 1
 #ifndef MACOSX
-#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__)
+#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__) && !defined(__NetBSD__)
 #ifndef __cplusplus
 #define _XOPEN_SOURCE 600
 #endif



More information about the Freeswitch-svn mailing list