0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

Undefine uint32_t when building if_perl.xs to fix the build.

This commit is contained in:
Bram Moolenaar
2010-05-18 21:05:27 +02:00
parent edac185487
commit 76e69cef0c

View File

@@ -2065,6 +2065,12 @@ typedef int VimClipboard; /* This is required for the prototypes. */
# 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