From 5a7907f9e9c215c205c44b0784098bbc32fd98e4 Mon Sep 17 00:00:00 2001 From: "J. Krieg" Date: Thu, 8 Oct 2015 21:15:07 +0200 Subject: [PATCH] libdvbsub: fix compile with new mandatory -D__STDC_CONSTANT_MACROS compiler flag --- lib/libdvbsub/dvbsub.cpp | 3 --- lib/libdvbsub/dvbsubtitle.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/libdvbsub/dvbsub.cpp b/lib/libdvbsub/dvbsub.cpp index 21a2b1bc6..968316d42 100644 --- a/lib/libdvbsub/dvbsub.cpp +++ b/lib/libdvbsub/dvbsub.cpp @@ -1,6 +1,3 @@ -// Workaround for C++ -#define __STDC_CONSTANT_MACROS - #include #include #include diff --git a/lib/libdvbsub/dvbsubtitle.h b/lib/libdvbsub/dvbsubtitle.h index d7d90e087..647852c5d 100644 --- a/lib/libdvbsub/dvbsubtitle.h +++ b/lib/libdvbsub/dvbsubtitle.h @@ -12,9 +12,6 @@ #ifndef __DVBSUBTITLE_H #define __DVBSUBTITLE_H -// Workaround for C++ -#define __STDC_CONSTANT_MACROS - extern "C" { #include #include