]> git.sesse.net Git - vlc/blobdiff - modules/demux/live555.cpp
Revert "live555: Don't put any INT64_C related hack here. We need to fix that properly."
[vlc] / modules / demux / live555.cpp
index ffed8fe809a7824148c697fb5b0fefc646c69a4c..575de2744d298a2a8e44e7dbf87f8a5915934ae4 100644 (file)
@@ -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;
 
 /*****************************************************************************