util/xfunc.h: fix #elif check for NDEBUG
Fix '#elif with no expression', add defined() to check. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
87c7d49d67
commit
969aa806b7
@ -20,7 +20,7 @@ namespace rocksdb {
|
||||
#if (ROCKSDB_XFTEST_FORCE == 1)
|
||||
#define XFUNC
|
||||
#endif
|
||||
#elif NDEBUG
|
||||
#elif defined(NDEBUG)
|
||||
#else
|
||||
#define XFUNC
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user