Commit 72468a03 authored by Diego Pettenò's avatar Diego Pettenò Committed by Guillaume Poirier

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
parent e006c307
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment