mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
general: enable use of tie and tuple on macOS (from TR1, for now)
This commit is contained in:
parent
71eee6df3f
commit
8a98bf42a3
@ -122,6 +122,11 @@ typedef ios::seekdir ios_seekdir;
|
||||
// Apple has an outdated libstdc++. Not all is lost, though, as we can fill
|
||||
// in some important missing functions.
|
||||
#if defined(__GLIBCXX__) && __GLIBCXX__ <= 20070719
|
||||
#include <tr1/tuple>
|
||||
|
||||
using std::tr1::tuple;
|
||||
using std::tr1::tie;
|
||||
|
||||
typedef decltype(nullptr) nullptr_t;
|
||||
|
||||
template<class T> struct remove_reference {typedef T type;};
|
||||
|
Loading…
x
Reference in New Issue
Block a user