From 6f1653091316c619503a453f4b2a30f50c702521 Mon Sep 17 00:00:00 2001 From: "Derek S. Ray" Date: Fri, 10 Apr 2015 18:47:39 -0400 Subject: [PATCH] regex.h remains nonpossible on Win32; define it out Once cppregex.cpp is merged into this branch, this can be fixed --- include/config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/config.h b/include/config.h index f65d90798..a85c4dd82 100644 --- a/include/config.h +++ b/include/config.h @@ -1,4 +1,4 @@ -/* NetHack 3.5 config.h $NHDT-Date: 1425083082 2015/02/28 00:24:42 $ $NHDT-Branch: master $:$NHDT-Revision: 1.51 $ */ +/* NetHack 3.5 config.h $NHDT-Date: 1428706053 2015/04/10 22:47:33 $ $NHDT-Branch: win32-x64-working $:$NHDT-Revision: 1.77 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -437,8 +437,10 @@ typedef unsigned char uchar; */ /* Menucolors */ +#ifdef UNIX # define MENU_COLOR_REGEX /* use GNU regex */ /*# define MENU_COLOR_REGEX_POSIX*/ /* use POSIX regex */ +#endif /* if neither is defined, uses pmatch() * pmatch() provides basic globbing: '*' and '?' wildcards. */