summaryrefslogtreecommitdiff
path: root/libavcodec/common.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-08-24 16:00:34 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-08-24 16:00:34 +0000
commitf5fe9d5f8ce09a01f6738f234935b270364b229e (patch)
treeba0c982bc4bafefc0de3552e63e0541cf116899f /libavcodec/common.h
parent02d504a7d3f0546374cc02ecff45390a0d4faa6b (diff)
export int64_t_C as it is needed by libavformat.h
Originally committed as revision 2144 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r--libavcodec/common.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h
index 73da2c5d22..48db261155 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -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"