summaryrefslogtreecommitdiffstats
path: root/juniper
diff options
context:
space:
mode:
Diffstat (limited to 'juniper')
-rw-r--r--juniper/src/test/auxTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/juniper/src/test/auxTest.cpp b/juniper/src/test/auxTest.cpp
index 62bed396d44..74b3469f2c0 100644
--- a/juniper/src/test/auxTest.cpp
+++ b/juniper/src/test/auxTest.cpp
@@ -320,7 +320,7 @@ void test_dump(const char* s, unsigned int len)
namespace {
-#if __cplusplus > 201703L
+#if defined(__cpp_char8_t)
const char *
char_from_u8(const char8_t * p) {
return reinterpret_cast<const char *>(p);