5 #error You can't compile this with both GUISTUB and TTYSTUB defined.
9 struct window_procs mswin_procs = { "guistubs" };
16 /* MINGW32 has trouble with both a main() and WinMain()
17 * so we move main for the MINGW tty version into this stub
18 * so that it is out of sight for the gui linkage.
21 extern char default_window_sys[];
31 Strcpy(default_window_sys, "tty");
32 resuming = pcmain(argc, argv);
34 nethack_exit(EXIT_SUCCESS);
41 /* =============================================== */
48 struct window_procs tty_procs = { "ttystubs" };
112 #ifndef NO_MOUSE_ALLOWED
114 toggle_mouse_support()
122 win32con_debug_keystrokes()
127 win32con_handler_info()
141 load_keyboard_handler()
146 /* this is used as a printf() replacement when the window
147 * system isn't initialized yet
150 VA_DECL(const char *, fmt)
153 VA_INIT(fmt, const char *);
160 VA_DECL(const char *, s)
163 VA_INIT(s, const char *);
180 #endif /* TTYSTUBS */