Fixed mingw32 warning about stdcall and fastcall being redefined.

This commit is contained in:
Steven Edwards 2002-04-05 21:18:10 +00:00 committed by Alexandre Julliard
parent 32b6ef349d
commit 63963b8ddf
1 changed files with 38 additions and 8 deletions

View File

@ -78,21 +78,50 @@
#endif /* __i386__ */ #endif /* __i386__ */
#ifndef __WINE__ #ifndef __WINE__
#define pascal __stdcall
#define _pascal __stdcall
#define _stdcall __stdcall
#define _fastcall __stdcall
#define __fastcall __stdcall
#define __export __stdcall
#define cdecl __cdecl
#define _cdecl __cdecl
#ifndef pascal
#define pascal __stdcall
#endif
#ifndef _pascal
#define _pascal __stdcall
#endif
#ifndef _stdcall
#define _stdcall __stdcall
#endif
#ifndef _fastcall
#define _fastcall __stdcall
#endif
#ifndef __fastcall
#define __fastcall __stdcall
#endif
#ifndef __export
#define __export __stdcall
#endif
#ifndef cdecl
#define cdecl __cdecl
#endif
#ifndef _cdecl
#define _cdecl __cdecl
#endif
#ifndef near
#define near #define near
#endif
#ifndef far
#define far #define far
#endif
#ifndef _near
#define _near #define _near
#endif
#ifndef _far
#define _far #define _far
#endif
#ifndef NEAR
#define NEAR #define NEAR
#endif
#ifndef FAR
#define FAR #define FAR
#endif
#ifndef _declspec #ifndef _declspec
#define _declspec(x) #define _declspec(x)
@ -100,6 +129,7 @@
#ifndef __declspec #ifndef __declspec
#define __declspec(x) #define __declspec(x)
#endif #endif
#endif /* __WINE__ */ #endif /* __WINE__ */
#define CALLBACK __stdcall #define CALLBACK __stdcall