aboutsummaryrefslogtreecommitdiff
path: root/odb/details/config-vc.h
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-03-02 14:11:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-03-02 14:11:03 +0200
commit64cfe5e150e2d3e58dde1a6701d8c734c20e0848 (patch)
tree600adad0eb7f41cd5e1a4e34a28922db4024684f /odb/details/config-vc.h
parent8a9e1081c026a092c7dfb28fbd079b88850c7233 (diff)
Reimplement C++11 support to be header-only
This way, the same build of the runtime libraries can be used in both C++98 and C++11 modes. This is important for when runtimes are installed or packaged.
Diffstat (limited to 'odb/details/config-vc.h')
-rw-r--r--odb/details/config-vc.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/odb/details/config-vc.h b/odb/details/config-vc.h
index 56d69e7..2c2990a 100644
--- a/odb/details/config-vc.h
+++ b/odb/details/config-vc.h
@@ -16,11 +16,9 @@
#if _MSC_VER >= 1600
# define ODB_CXX11
# define ODB_CXX11_NULLPTR
-# if _MSC_VER >= 1800
-# define ODB_CXX11_DELETED_FUNCTION
-# define ODB_CXX11_EXPLICIT_CONVERSION_OPERATOR
-# define ODB_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGUMENT
-# endif
+//# define ODB_CXX11_DELETED_FUNCTION
+//# define ODB_CXX11_EXPLICIT_CONVERSION_OPERATOR
+//# define ODB_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGUMENT
#endif
#endif /* ODB_DETAILS_CONFIG_VC_H */