enable svg also for console app on Windows

This commit is contained in:
Holger Vogt 2021-03-07 15:57:43 +01:00
parent 2f2db20305
commit 43f3fceb75
1 changed files with 4 additions and 1 deletions

View File

@ -17,9 +17,12 @@ Modified: 2001 AlansFixes
#include <stdlib.h> #include <stdlib.h>
#ifdef HAS_WINGUI #if defined(_MSC_VER) || defined(__MINGW32__)
#undef BOOLEAN #undef BOOLEAN
#include <windows.h> #include <windows.h>
#endif
#ifdef HAS_WINGUI
typedef struct { /* Extra window data */ typedef struct { /* Extra window data */
HWND wnd; /* window */ HWND wnd; /* window */
HDC hDC; /* Device context of window */ HDC hDC; /* Device context of window */