From 2916ecabe09953af7b3e6cf724a8c61a5058c1f2 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 11 Apr 2019 14:12:38 +0200 Subject: [PATCH] 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. --- ext/readline/php_readline.h | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.50.1