summaryrefslogtreecommitdiff
path: root/src/if_python.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-11-11 14:06:59 +0000
committerBram Moolenaar <Bram@vim.org>2009-11-11 14:06:59 +0000
commitbe2c9ae915d11265b02ef45021b25289f163040d (patch)
tree357d7ee879b5325b39e7b86b4b03ac8faff1fb9b /src/if_python.c
parent954e8c54a09231c3baed92c9bba974b5fe6e5032 (diff)
downloadvim-be2c9ae915d11265b02ef45021b25289f163040d.zip
updated for version 7.2-288
Diffstat (limited to 'src/if_python.c')
-rw-r--r--src/if_python.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/if_python.c b/src/if_python.c
index b9a12fa21..c9ebf1312 100644
--- 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