]> granicus.if.org Git - nethack/commitdiff
windows PORT_SUB_ID
authornethack.allison <nethack.allison>
Wed, 19 Feb 2003 03:14:21 +0000 (03:14 +0000)
committernethack.allison <nethack.allison>
Wed, 19 Feb 2003 03:14:21 +0000 (03:14 +0000)
allow PORT_SUB_ID to be defined in ntconf.h or ceconf.h

include/global.h

index 48f99d42fd32e12c35d474e12e28b47aad6d345d..efcd1843e9a5ae29c85c4b5a46062bbb0d393c82 100644 (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