From: nhmall Date: Tue, 31 Mar 2015 23:07:25 +0000 (-0400) Subject: non-Unix build was broken today X-Git-Tag: NetHack-3.6.0_RC01~494^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fb23b4a4113cf275cb560afdbafc1e07b0d04b0;p=nethack non-Unix build was broken today Changes to be committed: modified: src/cmd.c ../src/cmd.c(515) : warning C4013: 'check_user_string' undefined; assuming extern returning int) link error - cmd.o : error LNK2019: unresolved external symbol _check_user_string referenced in function _enter_explore_mode --- diff --git a/src/cmd.c b/src/cmd.c index b028c57a3..3798a4fb0 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -510,12 +510,14 @@ enter_explore_mode(VOID_ARGS) You("are already in explore mode."); } else { #ifdef SYSCF +# if defined(UNIX) if (!sysopt.explorers || !sysopt.explorers[0] || !check_user_string(sysopt.explorers)) { You("cannot access explore mode."); return 0; } +# endif #endif pline( "Beware! From explore mode there will be no return to normal game.");