diff src/if_python.c @ 1991:5c6a3e894d43 v7.2.288

updated for version 7.2-288
author vimboss
date Wed, 11 Nov 2009 14:06:59 +0000
parents 11c6bda3b53a
children 7d121c69f540
line wrap: on
line diff
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -37,6 +37,12 @@
 #ifdef HAVE_STDARG_H
 # undef HAVE_STDARG_H	/* Python's config.h defines it as well. */
 #endif
+#ifdef _POSIX_C_SOURCE
+# undef _POSIX_C_SOURCE	/* pyconfig.h defines it as well. */
+#endif
+#ifdef _XOPEN_SOURCE
+# undef _XOPEN_SOURCE	/* pyconfig.h defines it as well. */
+#endif
 
 #define PY_SSIZE_T_CLEAN