diff options
author | Florian Walch <florian@fwalch.com> | 2015-09-28 12:15:55 +0200 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2015-11-01 15:41:36 +0100 |
commit | cb87ea7e82f656711de27121bd67cea9afeab40b (patch) | |
tree | ba87ff2d8730598ce91e3461e8e16b63217d8081 /src | |
parent | 87e5a4131666e44354f280538cbc6bbe52225092 (diff) | |
download | rneovim-cb87ea7e82f656711de27121bd67cea9afeab40b.tar.gz rneovim-cb87ea7e82f656711de27121bd67cea9afeab40b.tar.bz2 rneovim-cb87ea7e82f656711de27121bd67cea9afeab40b.zip |
CMake: Disable logging for release build types.
These are: Release, MinSizeRel, and RelWithDebInfo.
Closes #2913.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/log.h b/src/nvim/log.h index 152e90760e..32b7276f14 100644 --- a/src/nvim/log.h +++ b/src/nvim/log.h @@ -19,7 +19,7 @@ #define ELOGN(...) // Logging is disabled if NDEBUG or DISABLE_LOG is defined. -#ifdef NDEBUG +#if !defined(DISABLE_LOG) && defined(NDEBUG) # define DISABLE_LOG #endif |