Changeset a45f0c18e8fb82539eaabeb4ee1582e434d2b8f8

Show
Ignore:
Timestamp:
28/05/08 02:30:06 (6 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1211934606 +0200
git-parent:

[38ed746ecf24744e61c932710cb174a56183e758]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1211934592 +0200
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/live555.cpp

    r9a8a483 ra45f0c1  
    4545#include <iostream> 
    4646#include <limits.h> 
    47 #include <stdint.h> /* UINT64_C */ 
     47 
    4848 
    4949#if defined( WIN32 ) 
     
    5959#include "../access/mms/asf.h"  /* Who said ugly ? */ 
    6060} 
     61 
     62/* XXX Ugly workaround: Buggy Mac OS X headers fail to define them */ 
     63#ifndef INT64_C 
     64# define INT64_C(v)   (v ## LL) 
     65#endif 
     66#ifndef UINT64_C 
     67# define UINT64_C(v)   (v ## ULL) 
     68#endif 
    6169 
    6270using namespace std;