From d1db9e88af0e33ece0405fe8f5f9e33dd92f5717 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Mon, 10 Feb 2025 01:55:10 +0000 Subject: [PATCH] Fix static debug windows build --- templates/cpp/static/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cpp/static/Main.cpp b/templates/cpp/static/Main.cpp index 290d63baa..3afe99351 100644 --- a/templates/cpp/static/Main.cpp +++ b/templates/cpp/static/Main.cpp @@ -1,6 +1,6 @@ #include -#if defined(HX_WINDOWS) && !defined(HXCPP_DEBUG) +#if defined(HX_WINDOWS) && !defined(HXCPP_DEBUGGER) #include #endif @@ -14,7 +14,7 @@ extern "C" int lime_openal_register_prims (); 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) { #else extern "C" int main(int argc, char *argv[]) {