projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e006c30
)
make sure NDEBUG is not defined already before defining it
author
Diego Pettenò
<flameeyes@gmail.com>
Fri, 30 Jun 2006 07:45:31 +0000
(07:45 +0000)
committer
Guillaume Poirier
<gpoirier@mplayerhq.hu>
Fri, 30 Jun 2006 07:45:31 +0000
(07:45 +0000)
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
patch
|
blob
|
blame
|
history
diff --git
a/libavutil/common.h
b/libavutil/common.h
index
ae32512
..
c951f5b
100644
(file)
--- a/
libavutil/common.h
+++ b/
libavutil/common.h
@@
-288,7
+288,7
@@
static inline float floorf(float f) {
/* debug stuff */
-# if
ndef DEBUG
+# if
!defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG
# endif
# include <assert.h>