Some nttty.c clean-up.
This commit is contained in:
@@ -1620,6 +1620,7 @@ E int NDECL(tgetch);
|
||||
E int FDECL(ntposkey, (int *, int *, int *));
|
||||
E void FDECL(set_output_mode, (int));
|
||||
E void NDECL(synch_cursor);
|
||||
E void NDECL(nethack_enter_nttty);
|
||||
#endif
|
||||
|
||||
/* ### o_init.c ### */
|
||||
@@ -2779,6 +2780,11 @@ E void NDECL(dump_close_log);
|
||||
E void FDECL(dump_redirect, (BOOLEAN_P));
|
||||
E void FDECL(dump_forward_putstr, (winid, int, const char*, int));
|
||||
|
||||
/* ### winnt.c ### */
|
||||
#ifdef WIN32
|
||||
E void NDECL(nethack_enter_winnt);
|
||||
#endif
|
||||
|
||||
/* ### wizard.c ### */
|
||||
|
||||
E void NDECL(amulet);
|
||||
|
||||
@@ -352,4 +352,10 @@ struct savefile_info {
|
||||
#define PANICTRACE_GDB
|
||||
#endif
|
||||
|
||||
/* Supply nethack_enter macro if not supplied by port */
|
||||
#ifndef nethack_enter
|
||||
#define nethack_enter(argc, argv) ((void) 0)
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* GLOBAL_H */
|
||||
|
||||
@@ -256,4 +256,6 @@ extern void FDECL(ntassert_failed, (const char * exp, const char * file,
|
||||
(ntassert_failed(#expression, __FILE__, __LINE__), 0))
|
||||
#endif
|
||||
|
||||
#define nethack_enter(argc, argv) nethack_enter_winnt()
|
||||
|
||||
#endif /* NTCONF_H */
|
||||
|
||||
Reference in New Issue
Block a user