]> git.lyx.org Git - lyx.git/blobdiff - src/support/functional.h
Fix build with GNU libstdc++ C++11 ABI
[lyx.git] / src / support / functional.h
index bb60029611ec5c73b08c9202ee78819849c44645..b86551d6f609a49e2db107e1baa9f93b71660ef2 100644 (file)
 #ifndef LYX_FUNCTIONAL_H
 #define LYX_FUNCTIONAL_H
 
-#ifdef LYX_USE_TR1
-
-#include <functional>
-
-#ifdef __GNUC__
-#include <tr1/functional>
-#endif
-
-#define LYX_FUNCTIONAL_NS std::tr1
-
-#elif __cplusplus >= 201103L
+#if __cplusplus >= 201103L
 
 #include <functional>
 #define LYX_FUNCTIONAL_NS std