This is because <cstdint> is not guaranteed to expose C99 types to the global namespace, and we don’t want to go through the hassle of using each of them one by one.wip/core-clipp
| @@ -19,10 +19,10 @@ | |||||
| #include "../base/private/features.h" | #include "../base/private/features.h" | ||||
| #include <limits> // std::numeric_limits | |||||
| #include <vector> // std::vector | |||||
| #include <string> // std::string | |||||
| #include <cstdint> // int64_t etc. | |||||
| #include <limits> // std::numeric_limits | |||||
| #include <vector> // std::vector | |||||
| #include <string> // std::string | |||||
| #include <stdint.h> // int64_t etc. | |||||
| #if _MSC_VER | #if _MSC_VER | ||||
| # pragma push_macro("min") | # pragma push_macro("min") | ||||
| @@ -1,7 +1,7 @@ | |||||
| // | // | ||||
| // Lol Engine | // Lol Engine | ||||
| // | // | ||||
| // Copyright © 2010—2015 Sam Hocevar <sam@hocevar.net> | |||||
| // Copyright © 2010—2020 Sam Hocevar <sam@hocevar.net> | |||||
| // | // | ||||
| // Lol Engine is free software. It comes without any warranty, to | // Lol Engine is free software. It comes without any warranty, to | ||||
| // the extent permitted by applicable law. You can redistribute it | // the extent permitted by applicable law. You can redistribute it | ||||
| @@ -20,7 +20,7 @@ | |||||
| #include <lol/base/types.h> | #include <lol/base/types.h> | ||||
| #include <array> | #include <array> | ||||
| #include <cstdint> | |||||
| #include <stdint.h> | |||||
| namespace lol | namespace lol | ||||
| { | { | ||||
| @@ -1,7 +1,7 @@ | |||||
| // | // | ||||
| // Lol Engine | // Lol Engine | ||||
| // | // | ||||
| // Copyright © 2010—2018 Sam Hocevar <sam@hocevar.net> | |||||
| // Copyright © 2010—2020 Sam Hocevar <sam@hocevar.net> | |||||
| // © 2010—2015 Benjamin “Touky” Huet <huet.benjamin@gmail.com> | // © 2010—2015 Benjamin “Touky” Huet <huet.benjamin@gmail.com> | ||||
| // | // | ||||
| // Lol Engine is free software. It comes without any warranty, to | // Lol Engine is free software. It comes without any warranty, to | ||||
| @@ -24,7 +24,7 @@ | |||||
| #include <map> | #include <map> | ||||
| #include <cmath> | #include <cmath> | ||||
| #include <cstdio> | #include <cstdio> | ||||
| #include <cstdint> | |||||
| #include <stdint.h> | |||||
| namespace lol | namespace lol | ||||
| { | { | ||||