Skip to content

Commit

Permalink
gcc9 gcc11
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyKalin committed Apr 15, 2024
1 parent 1088e64 commit cccaf71
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/dxfeed_graal_cpp_api/internal/Conf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@
# define DXFCPP_EXPORT_TEMPLATE_DEFINE
#endif

#ifndef DXFCPP_CXX20_CONSTEXPR_STRING
# if defined(__cpp_lib_constexpr_string)
# define DXFCPP_CXX20_CONSTEXPR_STRING
# else
# define DXFCPP_CXX20_CONSTEXPR_STRING
# endif
#endif

#ifndef DXFCPP_BEGIN_NAMESPACE
# define DXFCPP_BEGIN_NAMESPACE \
namespace dxfcpp { \
Expand Down Expand Up @@ -104,4 +96,12 @@ constexpr bool isMSSTL = false;
constexpr bool isUnknownSTL = true;
#endif

#ifndef DXFCPP_CXX20_CONSTEXPR_STRING
# if defined(__cpp_lib_constexpr_string) && ((defined(__GNUC__) && __GNUC__ >= 12) || (defined(__clang_major__) && __clang_major__ >= 15) || (defined(_MSC_VER) && _MSC_VER >= 1929))
# define DXFCPP_CXX20_CONSTEXPR_STRING constexpr
# else
# define DXFCPP_CXX20_CONSTEXPR_STRING
# endif
#endif

DXFCPP_END_NAMESPACE

0 comments on commit cccaf71

Please sign in to comment.