From 8fb23b4a4113cf275cb560afdbafc1e07b0d04b0 Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 31 Mar 2015 19:07:25 -0400 Subject: [PATCH] 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 --- src/cmd.c | 2 ++ 1 file changed, 2 insertions(+) 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.");