summaryrefslogtreecommitdiff
path: root/include/FLAC/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/FLAC/assert.h')
-rw-r--r--include/FLAC/assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/FLAC/assert.h b/include/FLAC/assert.h
index b546fd07..55b34777 100644
--- a/include/FLAC/assert.h
+++ b/include/FLAC/assert.h
@@ -34,7 +34,7 @@
#define FLAC__ASSERT_H
/* we need this since some compilers (like MSVC) leave assert()s on release code (and we don't want to use their ASSERT) */
-#ifdef DEBUG
+#ifndef NDEBUG
#include <assert.h>
#define FLAC__ASSERT(x) assert(x)
#define FLAC__ASSERT_DECLARATION(x) x