mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
Move the CXX_STD_VER macro to a separate header file.
This commit is contained in:
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user