From 39e11412b0c1ab615a545b7dd834f08a2d8abf33 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Wed, 19 Feb 2003 03:14:21 +0000 Subject: [PATCH] windows PORT_SUB_ID allow PORT_SUB_ID to be defined in ntconf.h or ceconf.h --- include/global.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 2.50.1