From a45f0c18e8fb82539eaabeb4ee1582e434d2b8f8 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Wed, 28 May 2008 02:29:52 +0200 Subject: [PATCH] live555: Work around buggy Mac OS X headers for INT64_C. --- modules/demux/live555.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp index 49e89c43a8..575de2744d 100644 --- a/modules/demux/live555.cpp +++ b/modules/demux/live555.cpp @@ -44,7 +44,7 @@ #include #include -#include /* UINT64_C */ + #if defined( WIN32 ) # include @@ -59,6 +59,14 @@ extern "C" { #include "../access/mms/asf.h" /* Who said ugly ? */ } +/* XXX Ugly workaround: Buggy Mac OS X headers fail to define them */ +#ifndef INT64_C +# define INT64_C(v) (v ## LL) +#endif +#ifndef UINT64_C +# define UINT64_C(v) (v ## ULL) +#endif + using namespace std; /***************************************************************************** -- 2.39.2