summaryrefslogtreecommitdiff
path: root/make/test
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-02-01 17:00:19 +0000
committerSadie Powell <sadie@witchery.services>2021-02-01 17:00:19 +0000
commit5b21a60a9d96827d6822c56b2dfdf08dbce5867f (patch)
tree1290d473d5f4e2088f432331fbdacaea7a6d6355 /make/test
parenta235e4356074f10b6946ee4019769a707f4f6e1d (diff)
Fix using the TR1 headers on compilers that support C++17.
Diffstat (limited to 'make/test')
-rw-r--r--make/test/compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/test/compiler.cpp b/make/test/compiler.cpp
index 5adf83df8..524874ed6 100644
--- a/make/test/compiler.cpp
+++ b/make/test/compiler.cpp
@@ -19,7 +19,7 @@
#include <iostream>
-#if defined _LIBCPP_VERSION
+#if defined _LIBCPP_VERSION || __cplusplus >= 201103L
# include <array>
# include <type_traits>
# include <unordered_map>