# HG changeset patch # User alex # Date 1075047458 0 # Node ID c047ebdb04619d0c08fbd77ee4d9d48d49cfa43c # Parent 48b54f5a06e776d316fe1f13459c8ea0ab388a59 freebsd fix (btw, why does it needs this int_max shit? diff -r 48b54f5a06e7 -r c047ebdb0461 libmpdemux/ebml.h --- 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