simplified ifdef
This commit is contained in:
parent
1d7b24e13e
commit
7bf465362a
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ namespace SimpleWeb {
|
|||
} // namespace SimpleWeb
|
||||
#endif
|
||||
|
||||
#if defined(__has_include) && __has_include(<string_view>) && (__cplusplus >= 201402L || (defined(_MSC_VER) && _MSC_VER >= 1910))
|
||||
#if __cplusplus >= 201402L || (defined(_MSC_VER) && _MSC_VER >= 1910)
|
||||
#include <string_view>
|
||||
namespace SimpleWeb { using string_view = std::string_view; }
|
||||
#elif !defined(USE_STANDALONE_ASIO)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue