Windows MSYS2 build fix

This commit is contained in:
nhmall
2024-11-13 16:14:49 -05:00
parent c16c87a897
commit 7ff17845c6
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ extern winid WIN_STATUS;
static TCHAR szMainWindowClass[] = TEXT("MSNHMainWndClass"); static TCHAR szMainWindowClass[] = TEXT("MSNHMainWndClass");
static TCHAR szTitle[MAX_LOADSTRING]; static TCHAR szTitle[MAX_LOADSTRING];
struct window_tracking_data windowdata[MAXWINDOWS];
extern void mswin_display_splash_window(BOOL); extern void mswin_display_splash_window(BOOL);
LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);
+2 -1
View File
@@ -46,7 +46,7 @@
struct window_tracking_data { struct window_tracking_data {
genericptr_t address; genericptr_t address;
int isstatic; int isstatic;
} windowdata[MAXWINDOWS]; };
/* these are only in MSWIN_GRAPHICS, not the core */ /* these are only in MSWIN_GRAPHICS, not the core */
enum mswin_window_types { enum mswin_window_types {
@@ -55,6 +55,7 @@ enum mswin_window_types {
NHW_RIP, NHW_RIP,
NHW_SPLASH NHW_SPLASH
}; };
extern struct window_tracking_data windowdata[MAXWINDOWS];
#ifndef TILE_X #ifndef TILE_X
#define TILE_X 16 #define TILE_X 16