#ifndef LYX_BIND_H
#define LYX_BIND_H
-#if defined(_MSC_VER) && (_MSC_VER >= 1600)
+#include "support/functional.h"
-#include <functional>
+#ifdef LYX_USE_TR1
namespace lyx
{
#else
-#include "boost/bind.hpp"
+#include <boost/bind.hpp>
namespace lyx
{