|
@@ -1,14 +1,18 @@
|
|
|
#ifndef ENTT_STL_CMATH_HPP
|
|
#ifndef ENTT_STL_CMATH_HPP
|
|
|
#define ENTT_STL_CMATH_HPP
|
|
#define ENTT_STL_CMATH_HPP
|
|
|
|
|
|
|
|
-#include <cmath>
|
|
|
|
|
-
|
|
|
|
|
/*! @cond ENTT_INTERNAL */
|
|
/*! @cond ENTT_INTERNAL */
|
|
|
|
|
+#if __has_include(<entt/ext/stl/cmath.hpp>)
|
|
|
|
|
+# include <entt/ext/stl/cmath.hpp>
|
|
|
|
|
+#else
|
|
|
|
|
+# include <cmath>
|
|
|
|
|
+
|
|
|
namespace entt::stl {
|
|
namespace entt::stl {
|
|
|
|
|
|
|
|
using std::ceil;
|
|
using std::ceil;
|
|
|
|
|
|
|
|
} // namespace entt::stl
|
|
} // namespace entt::stl
|
|
|
|
|
+#endif
|
|
|
/*! @endcond */
|
|
/*! @endcond */
|
|
|
|
|
|
|
|
#endif
|
|
#endif
|