diff libmpdemux/ebml.h @ 11845:c047ebdb0461

freebsd fix (btw, why does it needs this int_max shit?
author alex
date Sun, 25 Jan 2004 16:17:38 +0000
parents 0fa6f4fcfcbb
children 9e95ac641e77
line wrap: on
line diff
--- a/libmpdemux/ebml.h	Sun Jan 25 15:04:05 2004 +0000
+++ b/libmpdemux/ebml.h	Sun Jan 25 16:17:38 2004 +0000
@@ -153,6 +153,13 @@
 #define MATROSKA_SUBTYPE_SSA       2
 #define MATROSKA_SUBTYPE_VOBSUB    3
 
+#ifndef UINT64_MAX
+#define UINT64_MAX 18446744073709551615ULL
+#endif
+
+#ifndef INT64_MAX
+#define INT64_MAX 9223372036854775807LL
+#endif
 
 #define EBML_UINT_INVALID   UINT64_MAX
 #define EBML_INT_INVALID    INT64_MAX