Browse Source

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
tags/v0.5
Diego Pettenò Guillaume Poirier 19 years ago
parent
commit
72468a035a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/common.h

+ 1
- 1
libavutil/common.h 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>


Loading…
Cancel
Save