|
|
@@ -1,9 +1,12 @@
|
|
|
#ifndef ENTT_STL_CSTDDEF_HPP
|
|
|
#define ENTT_STL_CSTDDEF_HPP
|
|
|
|
|
|
-#include <cstddef>
|
|
|
-
|
|
|
/*! @cond ENTT_INTERNAL */
|
|
|
+#if __has_include(<entt/ext/stl/cstddef.hpp>)
|
|
|
+# include <entt/ext/stl/cstddef.hpp>
|
|
|
+#else
|
|
|
+# include <cstddef>
|
|
|
+
|
|
|
namespace entt::stl {
|
|
|
|
|
|
using std::byte;
|
|
|
@@ -12,6 +15,7 @@ using std::ptrdiff_t;
|
|
|
using std::size_t;
|
|
|
|
|
|
} // namespace entt::stl
|
|
|
+#endif
|
|
|
/*! @endcond */
|
|
|
|
|
|
#endif
|