mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-04 23:35:43 +01: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;
|
module;
|
||||||
|
#include "winheaders.h" // HINSTANCE
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
module eu07.console.lpt;
|
module eu07.console.lpt;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
module;
|
module;
|
||||||
|
#include "winheaders.h" // HANDLE; setupapi.h happens to pull it in, but say so
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <setupapi.h>
|
#include <setupapi.h>
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
module;
|
module;
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include "winheaders.h" // the interface has this in its own fragment, which does not cross
|
||||||
|
#endif
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
module;
|
module;
|
||||||
|
#include "winheaders.h" // SYSTEMTIME
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#include "winheaders.h"
|
||||||
#include "utilities/utilities_macros.h"
|
#include "utilities/utilities_macros.h"
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|||||||
Reference in New Issue
Block a user