17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 10:59:20 +02:00

add the C library headers MSVC needs

Unqualified uint8_t/size_t and friends were reaching 24 units through
some other header on libstdc++; MSVC's STL does not do that, which broke
gl/ubo.cppm (and made its UBS_PAD macro look like garbage). Also
silences C5244, MSVC's counterpart to the clang warning about glm being
included in the module purview, which is deliberate here.
This commit is contained in:
maj00r
2026-09-10 00:10:52 +02:00
parent 7667d8d4d3
commit 2896c2dd60
32 changed files with 41 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
module;
#include <cstddef>
#include <cstdint>
#include <array>
#include <chrono>
#include <deque>