diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2019-10-15 00:25:37 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2019-10-15 00:25:37 +0300 |
commit | 5cc6420a3faa9ac87c769a014afefbbe5bc9ba83 (patch) | |
tree | e5c471e8352460ff9a9b2ff19df8755502159826 | |
parent | d40477c9e6913162942766b92177c894dd43d6f7 (diff) |
Try emulating char8_t on all clangs before 9.
-rw-r--r-- | include/llfio/revision.hpp | 6 | ||||
-rw-r--r-- | include/llfio/v2.0/path_view.hpp | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/llfio/revision.hpp b/include/llfio/revision.hpp index e93fa543..65e866dc 100644 --- a/include/llfio/revision.hpp +++ b/include/llfio/revision.hpp @@ -1,4 +1,4 @@ // Note the second line of this file must ALWAYS be the git SHA, third line ALWAYS the git SHA update time -#define LLFIO_PREVIOUS_COMMIT_REF 9e6b817a53b0d64056473dee61a188fc3e4e3533 -#define LLFIO_PREVIOUS_COMMIT_DATE "2019-10-14 13:45:28 +00:00" -#define LLFIO_PREVIOUS_COMMIT_UNIQUE 9e6b817a +#define LLFIO_PREVIOUS_COMMIT_REF d40477c9e6913162942766b92177c894dd43d6f7 +#define LLFIO_PREVIOUS_COMMIT_DATE "2019-10-14 19:53:51 +00:00" +#define LLFIO_PREVIOUS_COMMIT_UNIQUE d40477c9 diff --git a/include/llfio/v2.0/path_view.hpp b/include/llfio/v2.0/path_view.hpp index 469688e6..4a8e88c5 100644 --- a/include/llfio/v2.0/path_view.hpp +++ b/include/llfio/v2.0/path_view.hpp @@ -45,7 +45,9 @@ Distributed under the Boost Software License, Version 1.0. #endif #ifndef LLFIO_PATH_VIEW_CHAR8_TYPE_EMULATED -#if(defined(_MSC_VER) && !defined(__clang__) && !_HAS_CXX20) || (defined(__GNUC__) && !defined(__clang__) && !defined(__CHAR8_TYPE__)) || (defined(__clang__) && __cplusplus < 201703L) +#if(defined(_MSC_VER) && !defined(__clang__) && !_HAS_CXX20) \ + || (defined(__GNUC__) && !defined(__clang__) && !defined(__CHAR8_TYPE__)) \ + || (defined(__clang__) && !defined(__CHAR8_TYPE__) && (__cplusplus < 201703L || __clang_major__ < 9)) #define LLFIO_PATH_VIEW_CHAR8_TYPE_EMULATED 1 #else #define LLFIO_PATH_VIEW_CHAR8_TYPE_EMULATED 0 |