summaryrefslogtreecommitdiffstats
path: root/juniper
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-12-06 00:31:24 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-12-06 02:04:52 +0100
commit4bf96727e32d260b435340b73abc22e32396a9d7 (patch)
tree580d988b323524b8b73c7b2ef7f0485186778fd1 /juniper
parent23f7bf9b66adc6316c9642b8c29c6aeb93e316b9 (diff)
Port to gcc 8.
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);