From 53e7cf731bda5d9d358896e3329b630323852d6e Mon Sep 17 00:00:00 2001 From: cancel Date: Wed, 8 Jan 2020 06:12:46 +0900 Subject: [PATCH] Cleanup --- thirdparty/sdd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/thirdparty/sdd.c b/thirdparty/sdd.c index a926dea..1ac6e6b 100644 --- a/thirdparty/sdd.c +++ b/thirdparty/sdd.c @@ -54,12 +54,13 @@ typedef struct sdd { #if defined(__GNUC__) || defined(__clang__) #if __has_attribute(noinline) && __has_attribute(noclone) #define SDD_NOINLINE __attribute__((noinline, noclone)) -#else +#elif __has_attribute(noinline) #define SDD_NOINLINE __attribute__((noinline)) #endif #elif defined(_MSC_VER) #define SDD_NOINLINE __declspec(noinline) -#else +#endif +#ifndef SDD_NOINLINE #define SDD_NOINLINE #endif