[asterisk-commits] mvanbaak: trunk r215419 - /trunk/include/asterisk.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 2 05:50:53 CDT 2009


Author: mvanbaak
Date: Wed Sep  2 05:50:49 2009
New Revision: 215419

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=215419
Log:
Let's compile again on OpenBSD

Modified:
    trunk/include/asterisk.h

Modified: trunk/include/asterisk.h
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/include/asterisk.h?view=diff&rev=215419&r1=215418&r2=215419
==============================================================================
--- trunk/include/asterisk.h (original)
+++ trunk/include/asterisk.h Wed Sep  2 05:50:49 2009
@@ -20,7 +20,7 @@
 
 #include "asterisk/autoconfig.h"
 
-#ifndef __Darwin__
+#if !defined(__Darwin__) && !defined(__OpenBSD__)
 
 #define _POSIX_C_SOURCE 200112L
 #define _XOPEN_SOURCE 600
@@ -37,7 +37,7 @@
 #endif
 */
 
-#endif /* __Darwin__ */
+#endif /* !__Darwin__ && !__OpenBSD__ */
 
 #if !defined(NO_MALLOC_DEBUG) && !defined(STANDALONE) && defined(MALLOC_DEBUG)
 #include "asterisk/astmm.h"




More information about the asterisk-commits mailing list