Skip to content

Commit 29176aa

Browse files
committed
vc doesn't support #warning
1 parent 60d9860 commit 29176aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/readline/php_readline.h

+2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222
#define PHP_READLINE_H
2323

2424
#if HAVE_LIBREADLINE || HAVE_LIBEDIT
25+
#ifndef PHP_WIN32
2526
#ifdef ZTS
2627
#warning Readline module will *NEVER* be thread-safe
2728
#endif
29+
#endif
2830

2931
extern zend_module_entry readline_module_entry;
3032
#define phpext_readline_ptr &readline_module_entry

0 commit comments

Comments
 (0)