diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-17 22:57:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-17 22:57:42 +0300 |
commit | 21f4d82b367750543ebfbc65df23e0863bf48c38 (patch) | |
tree | 63dfa3cda72741badf9810b6e215f912a44f5a8f /src/localconsts.h | |
parent | 3154e878e1f4c937807dfc94d1308049e94f9e65 (diff) | |
download | manaverse-21f4d82b367750543ebfbc65df23e0863bf48c38.tar.gz manaverse-21f4d82b367750543ebfbc65df23e0863bf48c38.tar.bz2 manaverse-21f4d82b367750543ebfbc65df23e0863bf48c38.tar.xz manaverse-21f4d82b367750543ebfbc65df23e0863bf48c38.zip |
Fix code style.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index 3620d441f..f54ae5659 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -71,11 +71,15 @@ #define DEPRECATED __attribute__ ((deprecated)) #define restrict __restrict__ +#ifdef __INTEL_COMPILER +#define RETURNS_NONNULL +#else // __INTEL_COMPILER #if GCC_VERSION < 40900 #define RETURNS_NONNULL -#else +#else // GCC_VERSION < 40900 #define RETURNS_NONNULL __attribute__((returns_nonnull)) -#endif +#endif // GCC_VERSION < 40900 +#endif // __INTEL_COMPILER #ifndef ENABLE_CILKPLUS #define A_NONNULL(...) __attribute__((nonnull (__VA_ARGS__))) |