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
pull/126/head
Diego Pettenò 19 years ago committed by Guillaume Poirier
parent e006c307fe
commit 72468a035a
  1. 2
      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>

Loading…
Cancel
Save