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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user