Browse Source

config/core: include cstdint also when ENTT_ID_TYPE is defined

Michele Caini 4 years ago
parent
commit
0c4dcdea71
2 changed files with 1 additions and 1 deletions
  1. 0 1
      src/entt/config/config.h
  2. 1 0
      src/entt/core/fwd.hpp

+ 0 - 1
src/entt/config/config.h

@@ -28,7 +28,6 @@
 #endif
 
 #ifndef ENTT_ID_TYPE
-#    include <cstdint>
 #    define ENTT_ID_TYPE std::uint32_t
 #endif
 

+ 1 - 0
src/entt/core/fwd.hpp

@@ -1,6 +1,7 @@
 #ifndef ENTT_CORE_FWD_HPP
 #define ENTT_CORE_FWD_HPP
 
+#include <cstdint>
 #include <type_traits>
 #include "../config/config.h"