From: nethack.allison Date: Wed, 19 Feb 2003 03:14:21 +0000 (+0000) Subject: windows PORT_SUB_ID X-Git-Tag: MOVE2GIT~2160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39e11412b0c1ab615a545b7dd834f08a2d8abf33;p=nethack windows PORT_SUB_ID allow PORT_SUB_ID to be defined in ntconf.h or ceconf.h --- diff --git a/include/global.h b/include/global.h index 48f99d42f..efcd1843e 100644 --- a/include/global.h +++ b/include/global.h @@ -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