Rename libavutil/assert.h to avassert.h
authorMåns Rullgård <mans@mansr.com>
Fri, 1 Oct 2010 13:55:13 +0000 (13:55 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 1 Oct 2010 13:55:13 +0000 (13:55 +0000)
This avoids conflicts with the system assert.h.

Originally committed as revision 25284 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c
libavutil/Makefile
libavutil/avassert.h [moved from libavutil/assert.h with 97% similarity]
libavutil/rational.c

index b9ae4ca..88ef798 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -79,7 +79,7 @@
 
 #include "cmdutils.h"
 
-#include "libavutil/assert.h"
+#include "libavutil/avassert.h"
 
 const char program_name[] = "FFmpeg";
 const int program_birth_year = 2000;
index 3f13092..b0d0de8 100644 (file)
@@ -3,8 +3,8 @@ include $(SUBDIR)../config.mak
 NAME = avutil
 
 HEADERS = adler32.h                                                     \
-          assert.h                                                      \
           attributes.h                                                  \
+          avassert.h                                                    \
           avstring.h                                                    \
           avutil.h                                                      \
           base64.h                                                      \
similarity index 97%
rename from libavutil/assert.h
rename to libavutil/avassert.h
index cf76912..fe307fa 100644 (file)
@@ -24,8 +24,8 @@
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
 
-#ifndef AVUTIL_ASSERT_H
-#define AVUTIL_ASSERT_H
+#ifndef AVUTIL_AVASSERT_H
+#define AVUTIL_AVASSERT_H
 
 #include "avutil.h"
 #include "log.h"
index 4e3c50b..0e0571e 100644 (file)
@@ -25,7 +25,7 @@
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
 
-#include "assert.h"
+#include "avassert.h"
 //#include <math.h>
 #include <limits.h>