# HG changeset patch # User michael # Date 1075144187 0 # Node ID 3620e301643a4502da5c7185f6143f8d7d201a51 # Parent ebe7fa49ddcc5b2f39d424c2362201ee8df6b68d int64max fix by (Michel Bardiaux ) diff -r ebe7fa49ddcc -r 3620e301643a common.h --- a/common.h Mon Jan 26 19:04:32 2004 +0000 +++ b/common.h Mon Jan 26 19:09:47 2004 +0000 @@ -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 @@ # 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;