diff options
author | Ladislav Zezula <ladislav.zezula@avg.com> | 2014-01-13 12:25:48 +0100 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avg.com> | 2014-01-13 12:25:48 +0100 |
commit | 8fa3f25f3e2654bfc1d4ff9caa0b9c849b8ee514 (patch) | |
tree | 8a9090d1f9924d8fbf02ab6bdea3e086553d22ff /src/StormPort.h | |
parent | a70a9800220851555272cab6a61e2bb00b867ffb (diff) |
+ Removed warnings from MINGW
+ Fixed Win32 makefile
Diffstat (limited to 'src/StormPort.h')
-rw-r--r-- | src/StormPort.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/StormPort.h b/src/StormPort.h index 218d5cf..902b785 100644 --- a/src/StormPort.h +++ b/src/StormPort.h @@ -270,7 +270,11 @@ #define STORMLIB_DEPRECATED(_Text) __declspec(deprecated) #endif #else - #define STORMLIB_DEPRECATED(_Text) __attribute__((deprecated(_Text))) + #ifdef __GNUC__ + #define STORMLIB_DEPRECATED(_Text) __attribute__((deprecated)) + #else + #define STORMLIB_DEPRECATED(_Text) __attribute__((deprecated(_Text))) + #endif #endif // When a flag is deprecated, use this macro |