]> granicus.if.org Git - nethack/commitdiff
win32gui temporary build fix (from <Someone>)
authornethack.allison <nethack.allison>
Wed, 2 Jun 2004 11:10:24 +0000 (11:10 +0000)
committernethack.allison <nethack.allison>
Wed, 2 Jun 2004 11:10:24 +0000 (11:10 +0000)
> The trunk did not compile when STATUS_VIA_WINDOWPORT was set. > This patch fixes that (for the time being).

win/win32/mhmain.c
win/win32/mswproc.c

index 193940482203667f5afe13c996d5e00f8380f47c..5295f78dd5c909545a1c7abf398789da9b122f5e 100644 (file)
@@ -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);
index c17e35c729650e53f64586e4e1bb1942e2d1063f..f45b967ae269d9664d034e6b1c1e90a8f4aadc96 100644 (file)
@@ -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, ...);