From 85924518ecc8f34a35d0da4f65a1e42c29e0365d Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Wed, 2 Jun 2004 11:10:24 +0000 Subject: [PATCH] win32gui temporary build fix (from ) > The trunk did not compile when STATUS_VIA_WINDOWPORT was set. > This patch fixes that (for the time being). --- win/win32/mhmain.c | 2 ++ win/win32/mswproc.c | 1 + 2 files changed, 3 insertions(+) diff --git a/win/win32/mhmain.c b/win/win32/mhmain.c index 193940482..5295f78dd 100644 --- a/win/win32/mhmain.c +++ b/win/win32/mhmain.c @@ -17,6 +17,8 @@ typedef struct mswin_nethack_main_window { int mapAcsiiModeSave; } NHMainWindow, *PNHMainWindow; +extern winid WIN_STATUS; + static TCHAR szMainWindowClass[] = TEXT("MSNHMainWndClass"); static TCHAR szTitle[MAX_LOADSTRING]; extern void mswin_display_splash_window(BOOL); diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index c17e35c72..f45b967ae 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -28,6 +28,7 @@ #define LLEN 128 extern const char *killed_by_prefix[]; +extern winid WIN_STATUS; #ifdef _DEBUG extern void logDebug(const char *fmt, ...); -- 2.40.0