diff options
Diffstat (limited to 'src/common/nullpo.h')
-rw-r--r-- | src/common/nullpo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/nullpo.h b/src/common/nullpo.h index 71525dd00..0238d2b6d 100644 --- a/src/common/nullpo.h +++ b/src/common/nullpo.h @@ -19,8 +19,9 @@ #endif #endif -#ifdef _WIN32 -#define __attribute__(x) /* nothing */ + +#if !defined(__GNUC__) && !defined(MINGW) +# define __attribute__(x) /* nothing */ #endif |