mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
fix(build): build fix for msvc
This commit is contained in:
parent
6e1c9d9e93
commit
c42bad55a2
3 changed files with 11 additions and 2 deletions
|
|
@ -1,7 +1,11 @@
|
|||
#include "storm/thread/S_Thread.hpp"
|
||||
#include "storm/Memory.hpp"
|
||||
|
||||
DWORD S_Thread::s_SLaunchThread(void* threadParam) {
|
||||
#ifndef WINAPI
|
||||
#define WINAPI
|
||||
#endif
|
||||
|
||||
DWORD WINAPI S_Thread::s_SLaunchThread(void* threadParam) {
|
||||
auto params = static_cast<SThreadParmBlock*>(threadParam);
|
||||
auto proc = params->threadProc;
|
||||
auto param = params->threadParam;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue