changeset 2016:f8ef6f664234 libavcodec

UINT64_MAX fix
author michael
date Tue, 11 May 2004 12:24:42 +0000
parents 3ab8f3e2ae6a
children f089d25c82f0
files common.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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;