changeset 1413:724e6477f2a8 libavcodec

export int64_t_C as it is needed by libavformat.h
author bellard
date Sun, 24 Aug 2003 16:00:34 +0000
parents e101d1cffec6
children 5ee7bd7ee76d
files common.h
diffstat 1 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Sun Aug 24 13:57:42 2003 +0000
+++ b/common.h	Sun Aug 24 16:00:34 2003 +0000
@@ -118,13 +118,13 @@
 
 #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 @@
 
 /* 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"