commit | 76e69cef0c4e52dd9d251128cff0a95ae95d8da9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue May 18 21:05:27 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue May 18 21:05:27 2010 +0200 |
tree | a92ec05d524642d4b3d8b417fa7525080bddf47b | |
parent | edac1854877fbbe7e30088fc6238c48c75e8fa49 [diff] |
Undefine uint32_t when building if_perl.xs to fix the build.
diff --git a/src/vim.h b/src/vim.h index b6b4e1e..1264a84 100644 --- a/src/vim.h +++ b/src/vim.h
@@ -2065,6 +2065,12 @@ # 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