Skip to content

Commit d1db9e8

Browse files
tobil4skjoshtynjala
authored andcommitted
Fix static debug windows build
1 parent f5ccc3d commit d1db9e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/cpp/static/Main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stdio.h>
22

3-
#if defined(HX_WINDOWS) && !defined(HXCPP_DEBUG)
3+
#if defined(HX_WINDOWS) && !defined(HXCPP_DEBUGGER)
44
#include <windows.h>
55
#endif
66

@@ -14,7 +14,7 @@ ::foreach ndlls::::if (registerStatics)::
1414
extern "C" int ::nameSafe::_register_prims ();::end::::end::
1515

1616

17-
#if defined(HX_WINDOWS) && !defined(HXCPP_DEBUG)
17+
#if defined(HX_WINDOWS) && !defined(HXCPP_DEBUGGER)
1818
int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
1919
#else
2020
extern "C" int main(int argc, char *argv[]) {

0 commit comments

Comments
 (0)