From: Andreas Schneider Date: Thu, 13 Dec 2018 17:45:14 +0000 (+0100) Subject: replace: Fix checking for config.h #define in readline.h X-Git-Tag: tdb-1.3.17~295 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0cabfd265c475c2726dfc7d7cfb22050bb21f5e;p=thirdparty%2Fsamba.git replace: Fix checking for config.h #define in readline.h Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer --- diff --git a/lib/replace/system/readline.h b/lib/replace/system/readline.h index 5dc3e75dd3d..29379626e0d 100644 --- a/lib/replace/system/readline.h +++ b/lib/replace/system/readline.h @@ -48,7 +48,7 @@ #ifdef HAVE_NEW_LIBREADLINE #ifdef HAVE_CPPFUNCTION # define RL_COMPLETION_CAST (CPPFunction *) -#elif HAVE_RL_COMPLETION_T +#elif defined(HAVE_RL_COMPLETION_T) # define RL_COMPLETION_CAST (rl_completion_t *) #else # define RL_COMPLETION_CAST