diff options
author | Sisyphus <sisyphus1@optusnet.com.au> | 2006-01-05 08:29:19 +1100 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2006-01-05 16:22:50 +0000 |
commit | 8659febc83cb1245132b6675e1276f70f4cf2801 (patch) | |
tree | 8a9670cc17ee85a29fade2d11f5b54cf3b26a645 /win32/win32.h | |
parent | 21fc44801144fb904f6f8b3c17c05991e441713b (diff) | |
download | perl-8659febc83cb1245132b6675e1276f70f4cf2801.tar.gz |
MinGW and lib/CORE/Win32.h
From: "Sisyphus" <sisyphus1@optusnet.com.au>
Message-ID: <024301c61119$bca4a840$e201140a@desktop>
p4raw-id: //depot/perl@26659
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index f318890a9b..e56c4df13d 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -230,6 +230,17 @@ typedef long gid_t; # endif #endif +/* <stdint.h>, pulled in by <io.h> as of mingw-runtime-3.3, typedef's + * (u)intptr_t but doesn't set the _(U)INTPTR_T_DEFINED defines */ +#ifdef _STDINT_H +# ifndef _INTPTR_T_DEFINED +# define _INTPTR_T_DEFINED +# endif +# ifndef _UINTPTR_T_DEFINED +# define _UINTPTR_T_DEFINED +# endif +#endif + #endif /* __MINGW32__ */ /* both GCC/Mingw32 and MSVC++ 4.0 are missing this, so we put it here */ |