mirror of
https://github.com/rbock/sqlpp11.git
synced 2025-12-31 02:00:24 -06:00
Move the CXX_STD_VER macro to a separate header file.
This commit is contained in:
committed by
Roland Bock
parent
633710aa93
commit
b100ede72e
7
include/sqlpp11/compat/cxx_std_ver.h
Normal file
7
include/sqlpp11/compat/cxx_std_ver.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSVC_LANG
|
||||
#define CXX_STD_VER _MSVC_LANG
|
||||
#else
|
||||
#define CXX_STD_VER __cplusplus
|
||||
#endif
|
||||
@@ -26,13 +26,9 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <memory>
|
||||
#include <sqlpp11/compat/cxx_std_ver.h>
|
||||
|
||||
#ifdef _MSVC_LANG
|
||||
#define CXX_STD_VER _MSVC_LANG
|
||||
#else
|
||||
#define CXX_STD_VER __cplusplus
|
||||
#endif
|
||||
#include <memory>
|
||||
|
||||
namespace sqlpp
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user