ref: 53e7cf731bda5d9d358896e3329b630323852d6e
parent: 4517b8759c590ea515c8f59dbb17312557bfe7f1
author: cancel <cancel@cancel.fm>
date: Wed Jan 8 01:12:46 EST 2020
Cleanup
--- a/thirdparty/sdd.c
+++ b/thirdparty/sdd.c
@@ -54,12 +54,13 @@
#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