From b136df4b34a0013cb31f34a0c97619335208fce8 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 25 Jan 2004 16:17:38 +0000 Subject: [PATCH] freebsd fix (btw, why does it needs this int_max shit? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11846 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/ebml.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libmpdemux/ebml.h b/libmpdemux/ebml.h index c39f43b348..ed430baffc 100644 --- a/libmpdemux/ebml.h +++ b/libmpdemux/ebml.h @@ -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