]> granicus.if.org Git - php/commitdiff
Remove the readline thread-safety warning
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 11 Apr 2019 12:12:38 +0000 (14:12 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 11 Apr 2019 12:14:21 +0000 (14:14 +0200)
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

index bcd61bcc88bf4a93336c7b8665bd181a005cc81c..8d55228a7fa0293871173db25f54ebbd3c12a526 100644 (file)
 #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