summaryrefslogtreecommitdiff
path: root/ext/readline/php_readline.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/readline/php_readline.h')
-rw-r--r--ext/readline/php_readline.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/readline/php_readline.h b/ext/readline/php_readline.h
index dac79f04e7..e3a0aba676 100644
--- a/ext/readline/php_readline.h
+++ b/ext/readline/php_readline.h
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-2015 The PHP Group |
+ | Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -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