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[]) {