[common] debug: fix incorrect use of #elif defined

This commit is contained in:
Quantum 2021-09-28 17:18:13 -04:00 committed by Geoffrey McRae
parent 12840a8324
commit 778d27f08a

View File

@ -59,7 +59,7 @@ void printBacktrace(void);
#ifdef __GNUC__ #ifdef __GNUC__
#define DEBUG_UNREACHABLE_MARKER() __builtin_unreachable() #define DEBUG_UNREACHABLE_MARKER() __builtin_unreachable()
#elif __defined__(_MSC_VER) #elif defined(_MSC_VER)
#define DEBUG_UNREACHABLE_MARKER() __assume(0) #define DEBUG_UNREACHABLE_MARKER() __assume(0)
#else #else
#define DEBUG_UNREACHABLE_MARKER() #define DEBUG_UNREACHABLE_MARKER()