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

include windows.h where Driver.cpp calls CreateDirectory

The _WIN32 branch of the physics-log setup calls a Win32 API the file
never included; Linux takes the mkdir branch, so it never showed up
locally. Swept the tree for the same shape - Win32 calls inside _WIN32
blocks without windows.h - and this was the only one.
This commit is contained in:
maj00r
2026-09-10 02:21:33 +02:00
parent 02c6e6895e
commit c158a5c3ee

View File

@@ -12,6 +12,9 @@ module;
#include <list>
#include <optional>
#include <sys/stat.h>
#ifdef _WIN32
#include <windows.h> // CreateDirectory, in the _WIN32 branch of the log setup
#endif
#include <cstdint>
#include <algorithm>
#include <array>