summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-08 15:07:32 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-08 15:07:32 +0200
commit4d3601938593685b3f45439227838f16ee773cdc (patch)
treec18df6fc1c00439f35434e41fce583a7ae50ba88 /include
parent2b3b0ce142c16d50462e644821983c525874f10e (diff)
Include <array> or <tr1/array> globally
Diffstat (limited to 'include')
-rw-r--r--include/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compat.h b/include/compat.h
index e7719bcd7..1e6fc3d45 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -27,10 +27,12 @@
*/
#if defined _LIBCPP_VERSION || defined _WIN32
# define TR1NS std
+# include <array>
# include <unordered_map>
# include <type_traits>
#else
# define TR1NS std::tr1
+# include <tr1/array>
# include <tr1/unordered_map>
# include <tr1/type_traits>
#endif