mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 15:08:36 +01: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 <list>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <windows.h> // CreateDirectory, in the _WIN32 branch of the log setup
|
||||||
|
#endif
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|||||||
Reference in New Issue
Block a user