From: Nikita Popov Date: Thu, 11 Apr 2019 12:12:38 +0000 (+0200) Subject: Remove the readline thread-safety warning X-Git-Tag: php-7.4.0alpha1~550 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2916ecabe09953af7b3e6cf724a8c61a5058c1f2;p=php Remove the readline thread-safety warning Would be nice to have this in configure, but we'd have to change the ordering of extension & Zend processing for that. --- diff --git a/ext/readline/php_readline.h b/ext/readline/php_readline.h index bcd61bcc88..8d55228a7f 100644 --- a/ext/readline/php_readline.h +++ b/ext/readline/php_readline.h @@ -20,11 +20,6 @@ #define PHP_READLINE_H #if HAVE_LIBREADLINE || HAVE_LIBEDIT -#ifndef PHP_WIN32 -#ifdef ZTS -#warning Readline module will *NEVER* be thread-safe -#endif -#endif extern zend_module_entry readline_module_entry; #define phpext_readline_ptr &readline_module_entry