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>
main
Danny Al-Gaaf 10 years ago
parent 87c7d49d67
commit 969aa806b7
  1. 2
      util/xfunc.h

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

Loading…
Cancel
Save