Commit a45f0c18 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

live555: Work around buggy Mac OS X headers for INT64_C.

parent 38ed746e
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <iostream> #include <iostream>
#include <limits.h> #include <limits.h>
#include <stdint.h> /* UINT64_C */
#if defined( WIN32 ) #if defined( WIN32 )
# include <winsock2.h> # include <winsock2.h>
...@@ -59,6 +59,14 @@ extern "C" { ...@@ -59,6 +59,14 @@ extern "C" {
#include "../access/mms/asf.h" /* Who said ugly ? */ #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; using namespace std;
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment