Fix mingw32 building errors.
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
#error You cannot compile this with both GUISTUB and TTYSTUB defined.
|
#error You cannot compile this with both GUISTUB and TTYSTUB defined.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int GUILaunched;
|
|
||||||
struct window_procs mswin_procs = { "-guistubs" };
|
struct window_procs mswin_procs = { "-guistubs" };
|
||||||
|
|
||||||
#ifdef QT_GRAPHICS
|
#ifdef QT_GRAPHICS
|
||||||
@@ -60,7 +59,6 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
HANDLE hConIn;
|
HANDLE hConIn;
|
||||||
HANDLE hConOut;
|
HANDLE hConOut;
|
||||||
int GUILaunched;
|
|
||||||
struct window_procs tty_procs = { "-ttystubs" };
|
struct window_procs tty_procs = { "-ttystubs" };
|
||||||
#ifdef CURSES_GRAPHICS
|
#ifdef CURSES_GRAPHICS
|
||||||
char erase_char, kill_char;
|
char erase_char, kill_char;
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ boolean win32_cursorblink;
|
|||||||
HANDLE ffhandle = (HANDLE) 0;
|
HANDLE ffhandle = (HANDLE) 0;
|
||||||
WIN32_FIND_DATA ffd;
|
WIN32_FIND_DATA ffd;
|
||||||
extern int GUILaunched;
|
extern int GUILaunched;
|
||||||
boolean getreturn_enabled;
|
extern boolean getreturn_enabled;
|
||||||
int redirect_stdout;
|
int redirect_stdout;
|
||||||
|
|
||||||
typedef HWND(WINAPI *GETCONSOLEWINDOW)();
|
typedef HWND(WINAPI *GETCONSOLEWINDOW)();
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ _nhapply_image_transparent(HDC hDC, int x, int y, int width, int height,
|
|||||||
|
|
||||||
// Global Variables:
|
// Global Variables:
|
||||||
NHWinApp _nethack_app;
|
NHWinApp _nethack_app;
|
||||||
extern int GUILaunched; /* We tell shared startup code in windmain.c
|
int GUILaunched = TRUE; /* We tell shared startup code in windmain.c
|
||||||
that the GUI was launched via this */
|
that the GUI was launched via this */
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
|
|||||||
Reference in New Issue
Block a user