0
0
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:
MeanSquaredError 2024-09-02 21:37:27 +03:00 committed by Roland Bock
parent 633710aa93
commit b100ede72e
2 changed files with 9 additions and 6 deletions

View File

@ -0,0 +1,7 @@
#pragma once
#ifdef _MSVC_LANG
#define CXX_STD_VER _MSVC_LANG
#else
#define CXX_STD_VER __cplusplus
#endif

View File

@ -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
{