Skip to content

Commit

Permalink
Fix C++ standard detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ruxixa committed Jun 28, 2024
1 parent 9103da7 commit 378c54c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/tls_client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@
//
// Check if the C++ standard is higher than 17
//
#if (!(defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus <= 201703L)
#if !((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || (!defined(_MSVC_LANG) && __cplusplus >= 201703L))
#error "Unsupported C++ standard (use 17 or higher)"
#endif


/**
* @brief LOAD_LIBRARY macro
*
Expand Down

0 comments on commit 378c54c

Please sign in to comment.