diff common.h @ 2016:f8ef6f664234 libavcodec

UINT64_MAX fix
author michael
date Tue, 11 May 2004 12:24:42 +0000
parents 800db77ec7c8
children 82816cad0e29
line wrap: on
line diff
--- a/common.h	Tue May 11 01:38:46 2004 +0000
+++ b/common.h	Tue May 11 12:24:42 2004 +0000
@@ -115,6 +115,10 @@
 #define INT64_MAX int64_t_C(9223372036854775807)
 #endif
 
+#ifndef UINT64_MAX
+#define UINT64_MAX uint64_t_C(0xFFFFFFFFFFFFFFFF)
+#endif
+
 #ifdef EMULATE_FAST_INT
 /* note that we don't emulate 64bit ints */
 typedef signed char int_fast8_t;