diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:28 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:28 +0200 |
commit | 4ebba1b36f4f171fb5daa25a8578e21d2740c517 (patch) | |
tree | d65b86318939ce111bf855539aa4d1b3e2bc581b /src/ncmpc.h | |
parent | 7d98fb19dc2b7c3af289b0a7c1a0db68e7fea8c9 (diff) | |
download | mpd-4ebba1b36f4f171fb5daa25a8578e21d2740c517.tar.gz mpd-4ebba1b36f4f171fb5daa25a8578e21d2740c517.tar.xz mpd-4ebba1b36f4f171fb5daa25a8578e21d2740c517.zip |
use !NDEBUG instead of DEBUG
NDEBUG is more commonly used than DEBUG, e.g. in assert.h. Convert
all macros to NDEBUG, and declare NDEBUG when debugging is disabled.
Diffstat (limited to 'src/ncmpc.h')
-rw-r--r-- | src/ncmpc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ncmpc.h b/src/ncmpc.h index 7d000958d..033145f91 100644 --- a/src/ncmpc.h +++ b/src/ncmpc.h @@ -21,7 +21,7 @@ #define ENABLE_LYRICS_SCREEN 1 #endif -#ifdef DEBUG +#ifndef NDEBUG void D(char *format, ...); #else #define D(...) |