windows PORT_SUB_ID

allow PORT_SUB_ID to be defined in ntconf.h or ceconf.h
This commit is contained in:
nethack.allison
2003-02-19 03:14:21 +00:00
parent 19fe8a249b
commit 39e11412b0

View File

@@ -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. */
/* NetHack may be freely redistributed. See license for details. */
@@ -220,10 +220,12 @@ typedef xchar boolean; /* 0 or 1 */
# endif
# ifdef WIN32
# define PORT_ID "Windows"
# ifdef MSWIN_GRAPHICS
# define PORT_SUB_ID "graphical"
# else
# define PORT_SUB_ID "tty"
# ifndef PORT_SUB_ID
# ifdef MSWIN_GRAPHICS
# define PORT_SUB_ID "graphical"
# else
# define PORT_SUB_ID "tty"
# endif
# endif
# endif
#endif