From 6a28adb40f09a2394da29cf4b2557dda84836b43 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Tue, 27 Aug 2002 00:32:43 +0000 Subject: [PATCH] Fix for lots of warnings when building on Mingw32. --- include/basetsd.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/basetsd.h b/include/basetsd.h index c1ef3ae9902..559387bc944 100644 --- a/include/basetsd.h +++ b/include/basetsd.h @@ -44,7 +44,12 @@ extern "C" { typedef char __int8; typedef short __int16; typedef int __int32; +#ifndef __MINGW__ typedef long long __int64; +#else +/* Using a typedef can tweak bugs in the C++ parser under Mingw32 */ +#define __int64 long long +#endif /* !defined(__MINGW__) */ #endif /* !defined(_MSC_VER) */ typedef unsigned char __uint8; -- 2.11.4.GIT