rcpp_framework/libs/brynet/base/CPP_VERSION.hpp

17 lines
371 B
C++
Raw Normal View History

2020-11-24 15:41:18 +01:00
#pragma once
#if (__cplusplus >= 201103L || \
2021-05-14 17:16:45 +02:00
(defined(_MSC_VER) && _MSC_VER >= 1800))
2020-11-24 15:41:18 +01:00
#define BRYNET_HAVE_LANG_CXX11 1
#endif
#if (__cplusplus >= 201402L || \
2021-05-14 17:16:45 +02:00
(defined(_MSC_VER) && _MSC_VER >= 1900))
2020-11-24 15:41:18 +01:00
#define BRYNET_HAVE_LANG_CXX14 1
#endif
#if (__cplusplus >= 201703L || \
2021-05-14 17:16:45 +02:00
(defined(_MSVC_LANG) && _MSVC_LANG >= 201703L))
2020-11-24 15:41:18 +01:00
#define BRYNET_HAVE_LANG_CXX17 1
2021-04-30 16:10:14 +02:00
#endif