[vlc-devel] commit: Revert "live555: Don't put any INT64_C related hack here. We need to fix that properly." (Jean-Paul Saman )
git version control
git at videolan.org
Wed May 28 17:34:36 CEST 2008
vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Wed May 28 14:23:33 2008 +0200| [b8d7dae428bc149d70633f044d335be611187609]
Revert "live555: Don't put any INT64_C related hack here. We need to fix that properly."
Don't break the build in the mean time !!!
This reverts commit d682e91e10f9ceabfb52385e0956e1fabba9928c.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8d7dae428bc149d70633f044d335be611187609
---
modules/demux/live555.cpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index ffed8fe..575de27 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -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;
/*****************************************************************************
More information about the vlc-devel
mailing list