export int64_t_C as it is needed by libavformat.h
authorFabrice Bellard <fabrice@bellard.org>
Sun, 24 Aug 2003 16:00:34 +0000 (16:00 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Sun, 24 Aug 2003 16:00:34 +0000 (16:00 +0000)
Originally committed as revision 2144 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/common.h

index 73da2c5..48db261 100644 (file)
@@ -118,13 +118,13 @@ typedef signed __int64 int64_t;
 
 #include <inttypes.h>
 
-#ifdef HAVE_AV_CONFIG_H
-
 #ifndef int64_t_C
 #define int64_t_C(c)     (c ## LL)
 #define uint64_t_C(c)    (c ## ULL)
 #endif
 
+#ifdef HAVE_AV_CONFIG_H
+
 #ifdef USE_FASTMEMCPY
 #include "fastmemcpy.h"
 #endif
@@ -138,13 +138,14 @@ typedef signed __int64 int64_t;
 
 /* unix */
 
-#    include <inttypes.h>
+#include <inttypes.h>
 
-#    ifdef HAVE_AV_CONFIG_H
-#        ifndef int64_t_C
-#            define int64_t_C(c)     (c ## LL)
-#            define uint64_t_C(c)    (c ## ULL)
-#        endif
+#ifndef int64_t_C
+#define int64_t_C(c)     (c ## LL)
+#define uint64_t_C(c)    (c ## ULL)
+#endif
+
+#ifdef HAVE_AV_CONFIG_H
 
 #        ifdef USE_FASTMEMCPY
 #            include "fastmemcpy.h"