dvb.media_addon: Let C++ use C99 math features.
- This get rids of the complain "'UINT64_C' was not declared in this scope" and allows us to remove the (now superflous) declaration of UINT64_C. - No functional change intended.
This commit is contained in:
@@ -8,6 +8,7 @@ UseHeaders [ FDirName $(ffmpegHeaders) libavcodec ] ;
|
|||||||
UseHeaders [ FDirName $(ffmpegHeaders) libavformat ] ;
|
UseHeaders [ FDirName $(ffmpegHeaders) libavformat ] ;
|
||||||
UseHeaders [ FDirName $(ffmpegHeaders) libavutil ] ;
|
UseHeaders [ FDirName $(ffmpegHeaders) libavutil ] ;
|
||||||
|
|
||||||
|
SubDirC++Flags -D__STDC_CONSTANT_MACROS -Wno-deprecated-declarations ;
|
||||||
|
|
||||||
Addon dvb.media_addon :
|
Addon dvb.media_addon :
|
||||||
DVBCard.cpp
|
DVBCard.cpp
|
||||||
|
|||||||
@@ -27,7 +27,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "MediaFormat.h"
|
#include "MediaFormat.h"
|
||||||
|
|
||||||
#define UINT64_C(c) (c ## ULL)
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user