|
From: Earnie B. <ear...@ya...> - 2003-07-01 13:23:21
|
I modified this patch to use macro definitions and have committed it to CVS. I also added the same definitions to the w32api basetyps.h file. Earnie. Earnie Boyd wrote: > Any heartache for this patch? > > It supports: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_pluslang_Fundamental_Types.asp > > > And adds small and hyper to support: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/midl/midl/int.asp > > > What GCC method should be used for determining 64bit OS vs 32bit OS WRT > Win64? I ask so that we can implement __int3264 which is either 32bit > on 32bit OS or 64bit on 64bit OS. > > Also, at the top of _mingw.h it states that ``typedef long long > __int64'' tweaks bugs in C++, is that still true? > > <patch> > Index: include/_mingw.h > =================================================================== > RCS file: /cvs/src/src/winsup/mingw/include/_mingw.h,v > retrieving revision 1.18 > diff -u -3 -p -r1.18 _mingw.h > --- include/_mingw.h 7 May 2003 03:12:17 -0000 1.18 > +++ include/_mingw.h 18 Jun 2003 13:00:27 -0000 > @@ -82,6 +82,11 @@ > # endif > # undef __int64 > # define __int64 long long > +typedef long __int32; > +typedef int __int16; > +typedef char __int8; > +typedef __int8 small; > +typedef __int64 hyper; > #endif /* __GNUC__ */ > > #define __MINGW32_VERSION 3.1 > </patch> > > Earnie. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > MinGW-dvlpr mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr > |