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

View File

@@ -25,6 +25,7 @@ extern winid WIN_STATUS;
static TCHAR szMainWindowClass[] = TEXT("MSNHMainWndClass");
static TCHAR szTitle[MAX_LOADSTRING];
struct window_tracking_data windowdata[MAXWINDOWS];
extern void mswin_display_splash_window(BOOL);
LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);

View File

@@ -46,7 +46,7 @@
struct window_tracking_data {
genericptr_t address;
int isstatic;
} windowdata[MAXWINDOWS];
};
/* these are only in MSWIN_GRAPHICS, not the core */
enum mswin_window_types {
@@ -55,6 +55,7 @@ enum mswin_window_types {
NHW_RIP,
NHW_SPLASH
};
extern struct window_tracking_data windowdata[MAXWINDOWS];
#ifndef TILE_X
#define TILE_X 16