fix(launcher): Use WinMain instead of wWinMain
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m30s
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m30s
This commit is contained in:
parent
4ab483c003
commit
e371a24761
@ -59,7 +59,8 @@ if build_machine.system() == 'linux' and host_machine.system() == 'windows'
|
||||
add_project_arguments(['-isystem/usr/share/mingw-w64/include',
|
||||
'-DRT_CROSS_LINUX_WINDOWS',
|
||||
'-D_WIN32_WINNT=0x600',
|
||||
'-lgcc'],
|
||||
'-lgcc',
|
||||
'-municode'],
|
||||
language: ['c', 'cpp'],
|
||||
native: false)
|
||||
endif
|
||||
|
@ -364,7 +364,7 @@ static int Entry(int argc, char **argv) {
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCVE hPrevInstance, PWSTR pCmdLine, int nCmdShow) {
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR pCmdLine, int nCmdShow) {
|
||||
_hInstance = hInstance;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user