]> git.tdb.fi Git - libs/core.git/commit
Add a wrapper header for windows.h
authorMikko Rasa <tdb@tdb.fi>
Tue, 3 Jan 2023 14:29:47 +0000 (16:29 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 3 Jan 2023 15:12:05 +0000 (17:12 +0200)
commit3ba20e3ddde250a78ab2410012551eb60304f766
tree712141b8caa41374e1da832e29441bc189430d40
parent0b51556bd22d9d9c2dc10692fc3c1feb3c6e98b3
Add a wrapper header for windows.h

Since Time::min is now defined in the header, it runs afoul of the min()
macro defined in windows.h unless the latter is disabled.
23 files changed:
source/core/windows/main.cpp
source/core/windows/module_platform.h
source/core/windows/mutex.cpp
source/core/windows/mutex_platform.h
source/core/windows/process.cpp
source/core/windows/process_platform.h
source/core/windows/semaphore.cpp
source/core/windows/systemerror.cpp
source/core/windows/thread.cpp
source/core/windows/thread_platform.h
source/core/windows/winapi.h [new file with mode: 0644]
source/fs/windows/dir.cpp
source/fs/windows/stat.cpp
source/fs/windows/stat_platform.h
source/fs/windows/utils.cpp
source/io/windows/eventreader.cpp
source/io/windows/handle_platform.h
source/io/windows/poll_platform.h
source/io/windows/seekable.cpp
source/io/windows/serial_platform.h
source/time/windows/rawtime_platform.h
source/time/windows/timezone.cpp
source/time/windows/utils.cpp