thread/Thread, fs: add missing WIN32 includes
This commit is contained in:
parent
25da798e7a
commit
124e75c286
@ -22,6 +22,8 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <handleapi.h> // for INVALID_HANDLE_VALUE
|
||||
|
||||
DirectoryReader::DirectoryReader(Path dir)
|
||||
:handle(FindFirstFile(MakeWildcardPath(dir.c_str()), &data))
|
||||
{
|
||||
|
@ -22,6 +22,12 @@
|
||||
#include "Limits.hxx"
|
||||
#include "system/Error.hxx"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <handleapi.h> // for CloseHandle()
|
||||
#include <windef.h> // for HWND (needed by winbase.h)
|
||||
#include <winbase.h> // for MoveFileEx()
|
||||
#endif
|
||||
|
||||
#include <cerrno>
|
||||
|
||||
#include <fcntl.h>
|
||||
|
@ -24,6 +24,12 @@
|
||||
#include "java/Global.hxx"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <synchapi.h> // for WaitForSingleObject()
|
||||
#include <windef.h> // for HWND (needed by winbase.h)
|
||||
#include <winbase.h> // for INFINITE
|
||||
#endif
|
||||
|
||||
void
|
||||
Thread::Start()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user