forked from MarkusEh/vdr-plugin-live
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove stdext and add DISABLE_TEMPLATES_COLLIDING_WITH_STL to Makefile
- Loading branch information
1 parent
b0459ff
commit 5feaa0a
Showing
11 changed files
with
56 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,8 @@ | ||
#ifndef VDR_LIVE_STDEXT_H | ||
#define VDR_LIVE_STDEXT_H | ||
#pragma once | ||
|
||
#if __cplusplus >= 201103L | ||
|
||
# include <functional> | ||
# include <memory> | ||
|
||
namespace stdext = std; | ||
|
||
#elif __GNUC__ >= 4 | ||
|
||
# include <tr1/functional> | ||
# include <tr1/memory> | ||
|
||
namespace stdext = std::tr1; | ||
|
||
#include <functional> | ||
#include <memory> | ||
#else | ||
|
||
# include <boost/version.hpp> | ||
|
||
# define BOOST_MAJOR_VERSION (BOOST_VERSION / 100000) | ||
# define BOOST_MINOR_VERSION ((BOOST_VERSION / 100) % 1000) | ||
|
||
# if BOOST_MAJOR_VERSION >= 1 && BOOST_MINOR_VERSION >= 34 | ||
|
||
# include <boost/tr1/functional.hpp> | ||
# include <boost/tr1/memory.hpp> | ||
|
||
# elif BOOST_MAJOR_VERSION >= 1 && BOOST_MINOR_VERSION >= 32 | ||
|
||
# include <boost/bind.hpp> | ||
# include <boost/shared_ptr.hpp> | ||
# include <boost/weak_ptr.hpp> | ||
|
||
namespace stdext { | ||
|
||
using boost::bind; | ||
using boost::shared_ptr; | ||
using boost::weak_ptr; | ||
|
||
namespace placeholders { | ||
using ::_1; | ||
using ::_2; | ||
using ::_3; | ||
using ::_4; | ||
using ::_5; | ||
using ::_6; | ||
using ::_7; | ||
using ::_8; | ||
using ::_9; | ||
} | ||
|
||
} // namespace stdext | ||
|
||
# else | ||
|
||
# error "Your Compiler is too old and you don't have boost >= 1.32.0 installed." | ||
# error "Please either install boost 1.32.0 or higher (1.34.0 is recommended)" | ||
# error "or upgrade your compiler suite to at least GCC 4.0" | ||
|
||
# endif | ||
|
||
#error "this plugin needs a compiler with C++11 support, ie. gcc-4.8.1 or higher" | ||
#endif | ||
|
||
#endif // VDR_LIVE_STDEXT_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.