From: Derek S. Ray Date: Fri, 10 Apr 2015 21:08:31 +0000 (-0400) Subject: lock MENU_COLOR_REGEX away since it isn't Win32 yet X-Git-Tag: NetHack-3.6.0_RC01~414^2~41^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fc9a86d34372086ea752a4aa4b586dc6e55444c;p=nethack lock MENU_COLOR_REGEX away since it isn't Win32 yet --- diff --git a/include/config.h b/include/config.h index fbe4704ae..4cce7dba8 100644 --- a/include/config.h +++ b/include/config.h @@ -437,8 +437,12 @@ typedef unsigned char uchar; */ /* Menucolors */ +/* HACK: this is being added to fix the builds temporarily. + * Remove it whenever we finally get a real regex for Win32 */ +#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. */