|
|
@@ -1,9 +1,12 @@
|
|
|
#ifndef ENTT_STL_ALGORITHM_HPP
|
|
|
#define ENTT_STL_ALGORITHM_HPP
|
|
|
|
|
|
-#include <algorithm>
|
|
|
-
|
|
|
/*! @cond ENTT_INTERNAL */
|
|
|
+#if __has_include(<entt/ext/stl/algorithm.hpp>)
|
|
|
+# include <entt/ext/stl/algorithm.hpp>
|
|
|
+#else
|
|
|
+# include <algorithm>
|
|
|
+
|
|
|
namespace entt::stl {
|
|
|
|
|
|
using std::all_of;
|
|
|
@@ -13,6 +16,7 @@ using std::none_of;
|
|
|
using std::sort;
|
|
|
|
|
|
} // namespace entt::stl
|
|
|
+#endif
|
|
|
/*! @endcond */
|
|
|
|
|
|
#endif
|