diff options
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index 4734ebd50..08b64e0d9 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -351,6 +351,14 @@ PRAGMA45(GCC diagnostic pop) #define USE_FILE_FOPEN 1 +#ifdef __MINGW32__ +#define PRAGMAMINGW(str) _Pragma(#str) +#define A_WIN_UNUSED __attribute__ ((unused)) +#else // __MINGW32__ +#define PRAGMAMINGW(str) +#define A_WIN_UNUSED +#endif // __MINGW32__ + #ifdef DYECMD #undef USE_FUZZER #endif // DYECMD |