Browse Source

Cleanup

master
cancel 5 years ago
parent
commit
53e7cf731b
  1. 5
      thirdparty/sdd.c

5
thirdparty/sdd.c

@ -54,12 +54,13 @@ typedef struct sdd {
#if defined(__GNUC__) || defined(__clang__) #if defined(__GNUC__) || defined(__clang__)
#if __has_attribute(noinline) && __has_attribute(noclone) #if __has_attribute(noinline) && __has_attribute(noclone)
#define SDD_NOINLINE __attribute__((noinline, noclone)) #define SDD_NOINLINE __attribute__((noinline, noclone))
#else #elif __has_attribute(noinline)
#define SDD_NOINLINE __attribute__((noinline)) #define SDD_NOINLINE __attribute__((noinline))
#endif #endif
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
#define SDD_NOINLINE __declspec(noinline) #define SDD_NOINLINE __declspec(noinline)
#else #endif
#ifndef SDD_NOINLINE
#define SDD_NOINLINE #define SDD_NOINLINE
#endif #endif

Loading…
Cancel
Save