diff options
author | Sadie Powell <sadie@witchery.services> | 2021-02-01 17:00:19 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-02-01 17:00:19 +0000 |
commit | 5b21a60a9d96827d6822c56b2dfdf08dbce5867f (patch) | |
tree | 1290d473d5f4e2088f432331fbdacaea7a6d6355 /include | |
parent | a235e4356074f10b6946ee4019769a707f4f6e1d (diff) |
Fix using the TR1 headers on compilers that support C++17.
Diffstat (limited to 'include')
-rw-r--r-- | include/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/compat.h b/include/compat.h index 47fda1e23..886805243 100644 --- a/include/compat.h +++ b/include/compat.h @@ -24,7 +24,7 @@ * Some implementations of the C++11 standard library are incomplete so we use * the implementation of the same types from C++ Technical Report 1 instead. */ -#if defined _LIBCPP_VERSION || defined _WIN32 +#if defined _LIBCPP_VERSION || defined _WIN32 || __cplusplus >= 201103L # define TR1NS std # include <array> # include <functional> |