changeset 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 48b54f5a06e7
children e3c3d01e9b86
files libmpdemux/ebml.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
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