git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cdfc7b
)
replace: Fix checking for config.h #define in readline.h
author
Andreas Schneider
<asn@samba.org>
Thu, 13 Dec 2018 17:45:14 +0000
(18:45 +0100)
committer
Gary Lockyer
<gary@samba.org>
Sun, 16 Dec 2018 20:04:09 +0000
(21:04 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/replace/system/readline.h
patch
|
blob
|
history
diff --git
a/lib/replace/system/readline.h
b/lib/replace/system/readline.h
index 5dc3e75dd3d96caf1b8030c41cdb515f0cc2f278..29379626e0dde8a8391d2bc041879221c02579f4 100644
(file)
--- 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