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
This commit is contained in:
Diego Pettenò 2006-06-30 07:45:31 +00:00 committed by Guillaume Poirier
parent e006c307fe
commit 72468a035a
1 changed files with 1 additions and 1 deletions

View File

@ -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>