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:
Danny Al-Gaaf 2015-03-17 12:04:05 +01:00
parent 87c7d49d67
commit 969aa806b7

View File

@ -20,7 +20,7 @@ namespace rocksdb {
#if (ROCKSDB_XFTEST_FORCE == 1)
#define XFUNC
#endif
#elif NDEBUG
#elif defined(NDEBUG)
#else
#define XFUNC
#endif