1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-03 14:03:52 +00:00

Style fix

This commit is contained in:
Henry Fredrick Schreiner 2018-04-03 09:45:30 +02:00 committed by Henry Schreiner
parent ae3b5a69c7
commit 4d695b04fa

View File

@ -10,20 +10,20 @@ namespace CLI {
// The following version macro is very similar to the one in PyBind11 // The following version macro is very similar to the one in PyBind11
#if !defined(_MSC_VER) && !defined(__INTEL_COMPILER) #if !defined(_MSC_VER) && !defined(__INTEL_COMPILER)
# if __cplusplus >= 201402L #if __cplusplus >= 201402L
# define CLI11_CPP14 #define CLI11_CPP14
# if __cplusplus > 201402L /* Temporary: should be updated to >= the final C++17 value once known */ #if __cplusplus > 201402L /* Temporary: should be updated to >= the final C++17 value once known */
# define CLI11_CPP17 #define CLI11_CPP17
# endif #endif
# endif #endif
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
// MSVC sets _MSVC_LANG rather than __cplusplus (supposedly until the standard is fully implemented) // MSVC sets _MSVC_LANG rather than __cplusplus (supposedly until the standard is fully implemented)
# if _MSVC_LANG >= 201402L #if _MSVC_LANG >= 201402L
# define CLI11_CPP14 #define CLI11_CPP14
# if _MSVC_LANG > 201402L && _MSC_VER >= 1910 #if _MSVC_LANG > 201402L && _MSC_VER >= 1910
# define CLI11_CPP17 #define CLI11_CPP17
# endif #endif
# endif #endif
#endif #endif
} // namespace CLI } // namespace CLI