commit | be2c9ae915d11265b02ef45021b25289f163040d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Nov 11 14:06:59 2009 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Nov 11 14:06:59 2009 +0000 |
tree | 357d7ee879b5325b39e7b86b4b03ac8faff1fb9b | |
parent | 954e8c54a09231c3baed92c9bba974b5fe6e5032 [diff] [blame] |
updated for version 7.2-288
diff --git a/src/if_python.c b/src/if_python.c index b9a12fa..c9ebf13 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