diff options
-rw-r--r-- | test/PCH/single-token-macro.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/PCH/single-token-macro.c b/test/PCH/single-token-macro.c index 52873bfc24..aa02f65f78 100644 --- a/test/PCH/single-token-macro.c +++ b/test/PCH/single-token-macro.c @@ -12,6 +12,11 @@ #ifndef HEADER #define HEADER +#ifdef __stdcall +// __stdcall is defined as __attribute__((__stdcall__)) for targeting mingw32. +#undef __stdcall +#endif + #define __stdcall #define STDCALL __stdcall |