From 56e7b7eaede52e8d2123e909d7d42220f8c63143 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Tue, 20 Feb 2018 21:17:36 +0000 Subject: Make possible to use clang on Windows (clang-cl) -DWITH_ASAN can be used as well now, on x64 Fix many clang-cl warnings. --- client/mysql.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client/mysql.cc') diff --git a/client/mysql.cc b/client/mysql.cc index dc5dcd3b74a..19c5dd4e6a9 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1709,13 +1709,12 @@ static struct my_option my_long_options[] = static void usage(int version) { +#ifdef HAVE_READLINE #if defined(USE_LIBEDIT_INTERFACE) const char* readline= ""; #else const char* readline= "readline"; #endif - -#ifdef HAVE_READLINE printf("%s Ver %s Distrib %s, for %s (%s) using %s %s\n", my_progname, VER, MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE, readline, rl_library_version); -- cgit v1.2.1