mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
vdr-plugin-live: add gcc-6 patch
This commit is contained in:
parent
527d728074
commit
513d97c004
@ -0,0 +1,43 @@
|
|||||||
|
--- a/stdext.h.orig 2016-02-07 12:55:05.958100061 +0100
|
||||||
|
+++ b/stdext.h 2016-02-07 12:56:49.583375455 +0100
|
||||||
|
@@ -3,8 +3,38 @@
|
||||||
|
|
||||||
|
#if __GNUC__ >= 4
|
||||||
|
|
||||||
|
-# include <tr1/functional>
|
||||||
|
-# include <tr1/memory>
|
||||||
|
+#if __GNUC__ >= 6
|
||||||
|
+
|
||||||
|
+#include <memory>
|
||||||
|
+#include <functional>
|
||||||
|
+
|
||||||
|
+namespace std {
|
||||||
|
+namespace tr1 {
|
||||||
|
+
|
||||||
|
+ using std::bind;
|
||||||
|
+ using std::shared_ptr;
|
||||||
|
+ using std::weak_ptr;
|
||||||
|
+
|
||||||
|
+ namespace placeholders {
|
||||||
|
+ using std::placeholders::_1;
|
||||||
|
+ using std::placeholders::_2;
|
||||||
|
+ using std::placeholders::_3;
|
||||||
|
+ using std::placeholders::_4;
|
||||||
|
+ using std::placeholders::_5;
|
||||||
|
+ using std::placeholders::_6;
|
||||||
|
+ using std::placeholders::_7;
|
||||||
|
+ using std::placeholders::_8;
|
||||||
|
+ using std::placeholders::_9;
|
||||||
|
+ }
|
||||||
|
+} // namespace tr1
|
||||||
|
+} // namespace std
|
||||||
|
+
|
||||||
|
+#else
|
||||||
|
+
|
||||||
|
+ # include <tr1/functional>
|
||||||
|
+ # include <tr1/memory>
|
||||||
|
+
|
||||||
|
+# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user