Commit 63963b8d authored by Steven Edwards's avatar Steven Edwards Committed by Alexandre Julliard

Fixed mingw32 warning about stdcall and fastcall being redefined.

parent 32b6ef34
...@@ -78,21 +78,50 @@ ...@@ -78,21 +78,50 @@
#endif /* __i386__ */ #endif /* __i386__ */
#ifndef __WINE__ #ifndef __WINE__
#ifndef pascal
#define pascal __stdcall #define pascal __stdcall
#endif
#ifndef _pascal
#define _pascal __stdcall #define _pascal __stdcall
#endif
#ifndef _stdcall
#define _stdcall __stdcall #define _stdcall __stdcall
#endif
#ifndef _fastcall
#define _fastcall __stdcall #define _fastcall __stdcall
#endif
#ifndef __fastcall
#define __fastcall __stdcall #define __fastcall __stdcall
#endif
#ifndef __export
#define __export __stdcall #define __export __stdcall
#endif
#ifndef cdecl
#define cdecl __cdecl #define cdecl __cdecl
#endif
#ifndef _cdecl
#define _cdecl __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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment