mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 03:59:19 +02:00
include the platform header where Win32 types are used
windows.cpp and piped_proc.cpp reached windows.h through an imported module's global module fragment, which does not cross the boundary. LPT.cpp and zmq_input.cpp never had it at all - the first was in an MSBuild batch that aborted before reaching it, the second is behind WITH_ZMQ and has not been compiled by either CI job. The earlier sweep only looked inside #ifdef _WIN32 blocks, but these files are gated by CMake instead, so they have no such block.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
module;
|
||||
#include "winheaders.h" // HINSTANCE
|
||||
#include <string>
|
||||
|
||||
module eu07.console.lpt;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module;
|
||||
#include "winheaders.h" // HANDLE; setupapi.h happens to pull it in, but say so
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <setupapi.h>
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
module;
|
||||
#ifdef _WIN32
|
||||
#include "winheaders.h" // the interface has this in its own fragment, which does not cross
|
||||
#endif
|
||||
#include <array>
|
||||
#include <chrono>
|
||||
#include <deque>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module;
|
||||
#include "winheaders.h" // SYSTEMTIME
|
||||
#include <array>
|
||||
#include <deque>
|
||||
#include <limits>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "winheaders.h"
|
||||
#include "utilities/utilities_macros.h"
|
||||
#include <array>
|
||||
#include <chrono>
|
||||
|
||||
Reference in New Issue
Block a user