Fix macOS build by providing missing std::copysign

This commit is contained in:
rdb 2018-07-31 10:47:16 +02:00
parent 247575df62
commit 079a7495f2
1 changed files with 2 additions and 0 deletions

View File

@ -97,10 +97,12 @@ typedef std::ios::seekdir ios_seekdir;
// in some important missing functions.
#if defined(__GLIBCXX__) && __GLIBCXX__ <= 20070719
#include <tr1/tuple>
#include <tr1/cmath>
namespace std {
using std::tr1::tuple;
using std::tr1::tie;
using std::tr1::copysign;
typedef decltype(nullptr) nullptr_t;