changeset 44:96a4efa91a4d libavutil

make sure NDEBUG is not defined already before defining it Patch by Diego 'Flameeyes' Petteno flameeyes AA gentoo PP org Original thread: Date: Jun 30, 2006 1:09 AM Subject: [Ffmpeg-devel] [PATCH] Avoid warning on NDEBUG redefinition
author gpoirier
date Fri, 30 Jun 2006 07:45:31 +0000
parents f1e082c50068
children 31c84858af22
files common.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Thu Jun 01 23:22:07 2006 +0000
+++ b/common.h	Fri Jun 30 07:45:31 2006 +0000
@@ -288,7 +288,7 @@
 
 /* debug stuff */
 
-#    ifndef DEBUG
+#    if !defined(DEBUG) && !defined(NDEBUG)
 #        define NDEBUG
 #    endif
 #    include <assert.h>