]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/compat.h
Release v3.10.0.
[user/henk/code/inspircd.git] / include / compat.h
index 47fda1e23564682c45236377178b2684d29efde2..8fbd2acad05d8ddb3e530489e83d33b167e38127 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2013-2014, 2017 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2013-2014, 2017, 2021 Sadie Powell <sadie@witchery.services>
  *   Copyright (C) 2013-2014, 2016 Attila Molnar <attilamolnar@hush.com>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
@@ -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>