Project

General

Profile

Bug #2296 » vdr-live-gcc6.patch

marco, 02/07/2016 02:25 PM

View differences:

stdext.h 2016-02-07 12:56:49.583375455 +0100
#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
    (1-1/1)