[vlc-commits] commit: libflac installs its own assert.h which fails to define assert() ( Rafaël Carré )
git at videolan.org
git at videolan.org
Thu Jun 17 06:05:10 CEST 2010
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Thu Jun 17 05:36:24 2010 +0200| [1e2a142ff8e90af6a4ab3fa725320a1ab2772eab] | committer: Rémi Denis-Courmont
libflac installs its own assert.h which fails to define assert()
Define assert() to no-op
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e2a142ff8e90af6a4ab3fa725320a1ab2772eab
---
modules/codec/flac.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/codec/flac.c b/modules/codec/flac.c
index 97204c0..c348a42 100644
--- a/modules/codec/flac.c
+++ b/modules/codec/flac.c
@@ -26,6 +26,9 @@
* Preamble
*****************************************************************************/
+/* workaround libflac overriding assert.h system header */
+#define assert(x) do {} while(0)
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
More information about the vlc-commits
mailing list