resubmit the right way this time - basetsd.h __int64 fix for mingw
Steven Edwards
steven_ed4153 at yahoo.com
Wed Aug 21 12:08:18 CDT 2002
I know everyone hates #ifdefs but I cant figure out why mingw-gcc has this problem with typedef
long long __int64. It is also never going to be fixed as I cant fix the bug and the mingw
developers have no interest in fixing it. See comments in _mingw.h for more info.
Changelog: Fix for lots of warrnings when building on Mingw32
cvs diff -u basetsd.h
Index: basetsd.h
===================================================================
RCS file: /home/wine/wine/include/basetsd.h,v
retrieving revision 1.5
diff -u -r1.5 basetsd.h
--- basetsd.h 29 May 2002 02:02:19 -0000 1.5
+++ basetsd.h 21 Aug 2002 17:05:30 -0000
@@ -44,7 +44,12 @@
typedef char __int8;
typedef short __int16;
typedef int __int32;
-typedef long long __int64;
+#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;
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
More information about the wine-patches
mailing list