Fix static debug windows build

This commit is contained in:
Tobiasz Laskowski
2025-02-10 01:55:10 +00:00
committed by Josh Tynjala
parent f5ccc3d2aa
commit d1db9e88af

View File

@@ -1,6 +1,6 @@
#include <stdio.h> #include <stdio.h>
#if defined(HX_WINDOWS) && !defined(HXCPP_DEBUG) #if defined(HX_WINDOWS) && !defined(HXCPP_DEBUGGER)
#include <windows.h> #include <windows.h>
#endif #endif
@@ -14,7 +14,7 @@ extern "C" int lime_openal_register_prims ();
extern "C" int ::nameSafe::_register_prims ();::end::::end:: extern "C" int ::nameSafe::_register_prims ();::end::::end::
#if defined(HX_WINDOWS) && !defined(HXCPP_DEBUG) #if defined(HX_WINDOWS) && !defined(HXCPP_DEBUGGER)
int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
#else #else
extern "C" int main(int argc, char *argv[]) { extern "C" int main(int argc, char *argv[]) {