From: Sisyphus Date: Wed, 4 Jan 2006 21:29:19 +0000 (+1100) Subject: MinGW and lib/CORE/Win32.h X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8659febc83cb1245132b6675e1276f70f4cf2801;p=p5sagit%2Fp5-mst-13.2.git MinGW and lib/CORE/Win32.h From: "Sisyphus" Message-ID: <024301c61119$bca4a840$e201140a@desktop> p4raw-id: //depot/perl@26659 --- diff --git a/win32/win32.h b/win32/win32.h index f318890..e56c4df 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -230,6 +230,17 @@ typedef long gid_t; # endif #endif +/* , pulled in by 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 */