From 9ff5f17543cbd94198205af428ee151d3bacc1d7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 26 Jan 2004 19:09:47 +0000 Subject: [PATCH] int64max fix by (Michel Bardiaux ) Originally committed as revision 2725 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/common.h b/libavcodec/common.h index 74802675ec..48d923169b 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -22,10 +22,6 @@ #define M_PI 3.14159265358979323846 #endif -#ifndef INT64_MAX -#define INT64_MAX 9223372036854775807LL -#endif - #ifdef HAVE_AV_CONFIG_H /* only include the following when compiling package */ # include "config.h" @@ -105,6 +101,10 @@ extern const struct AVOption avoptions_workaround_bug[11]; # endif /* other OS */ #endif /* HAVE_INTTYPES_H */ +#ifndef INT64_MAX +#define INT64_MAX 9223372036854775807LL +#endif + #ifdef EMULATE_FAST_INT /* note that we don't emulate 64bit ints */ typedef signed char int_fast8_t;