From 72468a035adcd5b7e1ef245484be8e84273688bf Mon Sep 17 00:00:00 2001 From: Diego Pettenò Date: Fri, 30 Jun 2006 07:45:31 +0000 Subject: 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 Originally committed as revision 5557 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3