"Steven Edwards" <[EMAIL PROTECTED]> wrote: > diff -u -r1.104 winnt.h > --- winnt.h 2 Apr 2002 19:37:15 -0000 1.104 > +++ winnt.h 4 Apr 2002 08:15:55 -0000 > @@ -80,9 +80,11 @@ > #ifndef __WINE__ > #define pascal __stdcall > #define _pascal __stdcall > +#if ! defined(__WINE__) && !defined(__MINGW__) > #define _stdcall __stdcall > #define _fastcall __stdcall > #define __fastcall __stdcall > +#endif > #define __export __stdcall > #define cdecl __cdecl > #define _cdecl __cdecl
Why don't you use something like this: +#if !defined(_stdcall) #define _stdcall __stdcall #define _fastcall __stdcall #define __fastcall __stdcall +#endif -- Dmitry.