changeset 1761:3620e301643a libavcodec

int64max fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author michael
date Mon, 26 Jan 2004 19:09:47 +0000
parents ebe7fa49ddcc
children 1532ff770277
files common.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;