components/vim/vim72-patches/7.2.288
changeset 198 172fc01ce997
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/vim/vim72-patches/7.2.288	Thu Apr 07 16:25:07 2011 -0700
@@ -0,0 +1,52 @@
+To: [email protected]
+Subject: Patch 7.2.288
+Fcc: outbox
+From: Bram Moolenaar <[email protected]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.288
+Problem:    Python 2.6 pyconfig.h redefines macros.
+Solution:   Undefine the macros before including pyconfig.h.
+Files:      src/if_python.c
+
+
+*** ../vim-7.2.287/src/if_python.c	2009-11-03 11:43:05.000000000 +0100
+--- src/if_python.c	2009-11-11 12:33:37.000000000 +0100
+***************
+*** 37,42 ****
+--- 37,48 ----
+  #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
+  
+*** ../vim-7.2.287/src/version.c	2009-11-11 14:45:36.000000000 +0100
+--- src/version.c	2009-11-11 15:05:51.000000000 +0100
+***************
+*** 683,684 ****
+--- 683,686 ----
+  {   /* Add new patch number below this line */
++ /**/
++     288,
+  /**/
+
+-- 
+I am always surprised in the Linux world how quickly solutions can be
+obtained.  (Imagine sending an email to Bill Gates, asking why Windows
+crashed, and how to fix it...  and then getting an answer that fixed the
+problem... <0>_<0> !)		              -- Mark Langdon
+
+ /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///