changeset 2194:90cfcd6b0799 vim73

Undefine uint32_t when building if_perl.xs to fix the build.
author Bram Moolenaar <bram@vim.org>
date Tue, 18 May 2010 21:05:27 +0200
parents 40edf1be1cd8
children f9aec8acb188
files src/vim.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/vim.h
+++ b/src/vim.h
@@ -2065,6 +2065,12 @@ typedef int VimClipboard;	/* This is req
 #  undef bool
 # endif
 
+/* uint32_t may be defined by configure, but perh.h may indirectly include
+ * stdint.h which tries to typedef uint32_t and fails. */
+#ifdef uint32_t
+# undef uint32_t
+#endif
+
 # ifdef __BORLANDC__
   /* Borland has the structure stati64 but not _stati64 */
 #  define _stati64 stati64