com php-src: vc doesn't support #warning: ext/readline/php_re adline.h
| From: | Anatol Belski | Date: | Tue, 19 Jan 2016 11:14:59 +0000 |
| Subject: | com php-src: vc doesn't support #warning: ext/readline/php_re adline.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90698@lists.php.net to get a copy of this message | ||
Commit: 29176aaa015a57f0124c152cefe325ea88ec3172
Author: Anatol Belski <ab@php.net> Tue, 19 Jan 2016 12:14:59 +0100
Parents: 60d98605cae19554aad11f2569b476454fab7f32
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=29176aaa015a57f0124c152cefe325ea88ec3172
Log:
vc doesn't support #warning
Changed paths:
M ext/readline/php_readline.h
Diff:
diff --git a/ext/readline/php_readline.h b/ext/readline/php_readline.h
index 52dabda..e3a0aba 100644
--- a/ext/readline/php_readline.h
+++ b/ext/readline/php_readline.h
@@ -22,9 +22,11 @@
#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