mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Use NULL to check only realine without c++11
This check always fails on centos 6 with clang 6. c++ standard flag never gets passed into the compilation command.
This commit is contained in:
parent
e25514d28a
commit
b61fe07f76
@ -46,8 +46,8 @@ if (LINE_EDITING_LIBS AND READLINE_INCLUDE_DIR)
|
||||
#include <readline/readline.h>
|
||||
#include <readline/history.h>
|
||||
int main() {
|
||||
add_history(nullptr);
|
||||
append_history(1,nullptr);
|
||||
add_history(NULL);
|
||||
append_history(1,NULL);
|
||||
return 0;
|
||||
}
|
||||
" HAVE_READLINE_HISTORY)
|
||||
|
Loading…
Reference in New Issue
Block a user