mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
replace: Fix checking for config.h #define in readline.h
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
8cdfc7bbbd
commit
b0cabfd265
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user