]> git.lyx.org Git - lyx.git/blobdiff - src/support/bind.h
Hack to display section symbol
[lyx.git] / src / support / bind.h
index 2c636dce6de1d7486fad17c9ac8f1b4e1a114734..e9b6a632771083f081d3cd9f5ab39c305748ecd8 100644 (file)
 #ifndef LYX_BIND_H
 #define LYX_BIND_H
 
-#if defined(_MSC_VER) && (_MSC_VER >= 1600)
-
-#include <functional>
-using std::tr1::bind;
-using std::tr1::placeholders::_1;
-using std::tr1::placeholders::_2;
-using std::tr1::ref;
-
-#else
-
-#include "support/bind.h"
-using boost::bind;
-using boost::_1;
-using boost::_2;
-using boost::ref;
-
-#endif
+#include "support/functional.h"
+
+namespace lyx
+{
+       using std::placeholders::_1;
+       using std::placeholders::_2;
+       using std::bind;
+       using std::ref;
+} // namespace
 
 
 #endif