windows PORT_SUB_ID
allow PORT_SUB_ID to be defined in ntconf.h or ceconf.h
This commit is contained in:
+7
-5
@@ -1,4 +1,4 @@
|
|||||||
/* SCCS Id: @(#)global.h 3.4 2002/03/12 */
|
/* SCCS Id: @(#)global.h 3.4 2003/02/18 */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -220,10 +220,12 @@ typedef xchar boolean; /* 0 or 1 */
|
|||||||
# endif
|
# endif
|
||||||
# ifdef WIN32
|
# ifdef WIN32
|
||||||
# define PORT_ID "Windows"
|
# define PORT_ID "Windows"
|
||||||
# ifdef MSWIN_GRAPHICS
|
# ifndef PORT_SUB_ID
|
||||||
# define PORT_SUB_ID "graphical"
|
# ifdef MSWIN_GRAPHICS
|
||||||
# else
|
# define PORT_SUB_ID "graphical"
|
||||||
# define PORT_SUB_ID "tty"
|
# else
|
||||||
|
# define PORT_SUB_ID "tty"
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user