[Ffmpeg-cvslog] r5557 - trunk/libavutil/common.h
gpoirier
subversion
Fri Jun 30 09:45:31 CEST 2006
Author: gpoirier
Date: Fri Jun 30 09:45:31 2006
New Revision: 5557
Modified:
trunk/libavutil/common.h
Log:
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
Modified: trunk/libavutil/common.h
==============================================================================
--- trunk/libavutil/common.h (original)
+++ trunk/libavutil/common.h Fri Jun 30 09:45:31 2006
@@ -288,7 +288,7 @@
/* debug stuff */
-# ifndef DEBUG
+# if !defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG
# endif
# include <assert.h>
More information about the ffmpeg-cvslog
mailing list