From 21f4d82b367750543ebfbc65df23e0863bf48c38 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Jul 2015 22:57:42 +0300 Subject: Fix code style. --- src/localconsts.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/localconsts.h') 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__))) -- cgit v1.2.3-60-g2f50