summaryrefslogtreecommitdiff
path: root/libavutil/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index ae325122a5..c951f5b2b8 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -288,7 +288,7 @@ static inline float floorf(float f) {
/* debug stuff */
-# ifndef DEBUG
+# if !defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG
# endif
# include <assert.h>