On Sun, 2005-10-02 at 22:19 -0700, Dan Kegel wrote:
I'd love that. It should sense _X86_ and set __i386__ if found, too.
Does this work?
Index: include/windef.h =================================================================== RCS file: /var/cvs/wine/include/windef.h,v retrieving revision 1.99 diff -u -p -r1.99 windef.h --- include/windef.h 22 Sep 2005 10:58:04 -0000 1.99 +++ include/windef.h 3 Oct 2005 05:26:26 -0000 @@ -41,6 +41,10 @@ extern "C" { # define _X86_ #endif
+#if defined(_X86_) && !defined(__i386__) +# define __i386__ +#endif + #ifdef __x86_64__ #define _WIN64 #endif @@ -126,6 +130,10 @@ extern "C" { # endif #endif
+#ifdef _MSC_VER +# define inline __inline +#endif + #define CALLBACK __stdcall #define WINAPI __stdcall #define APIPRIVATE __stdcall