diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-12-11 10:56:09 +0100 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-12-11 10:59:05 +0100 |
commit | 81219a9f5d60d0e9c92a4c6cec279b087aae053d (patch) | |
tree | ba05c8953c369f825f79588d684f7502fc97852b /src/frontend/qt_sdl/LocalMP.cpp | |
parent | 082310d5d5437bde589a99849f4cfacb58b1af53 (diff) |
Fix some conflicts with windows.h in some configurations
Fixes build in the MSYS2 Clang/ClangARM64 environments.
Diffstat (limited to 'src/frontend/qt_sdl/LocalMP.cpp')
-rw-r--r-- | src/frontend/qt_sdl/LocalMP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/LocalMP.cpp b/src/frontend/qt_sdl/LocalMP.cpp index c69537a..466f90c 100644 --- a/src/frontend/qt_sdl/LocalMP.cpp +++ b/src/frontend/qt_sdl/LocalMP.cpp @@ -130,7 +130,7 @@ bool SemInit(int num) char semname[64]; sprintf(semname, "Local\\melonNIFI_Sem%02d", num); - HANDLE sem = CreateSemaphore(nullptr, 0, 64, semname); + HANDLE sem = CreateSemaphoreA(nullptr, 0, 64, semname); SemPool[num] = sem; SemInited[num] = true; return sem != INVALID_HANDLE_VALUE; |