summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>1999-12-08 11:48:10 +0000
committerThies C. Arntzen <thies@php.net>1999-12-08 11:48:10 +0000
commit19023f3a051833694d18a034f38294660da7e62e (patch)
treef8474906ee81329f86366c904e5c1d98ce16b898 /ext/readline
parent5fad6deb652d8d56ecff421d806f53b9b7152ae6 (diff)
downloadphp-git-19023f3a051833694d18a034f38294660da7e62e.tar.gz
ZTS compile fixes
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/php_readline.h2
-rw-r--r--ext/readline/readline.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/readline/php_readline.h b/ext/readline/php_readline.h
index 72ca7187d0..548de29a7a 100644
--- a/ext/readline/php_readline.h
+++ b/ext/readline/php_readline.h
@@ -23,7 +23,7 @@
#if HAVE_LIBREADLINE
#ifdef ZTS
-#error Readline module will *NEVER* be thread-safe
+#warning Readline module will *NEVER* be thread-safe
#endif
#ifndef CGI_BINARY
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index ef7d521ff8..9614a2c843 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -365,7 +365,7 @@ static char **_readline_completion_cb(char *text, int start, int end)
zval *params[4];
int i;
char **matches = NULL;
- ELS_FETCH();
+ CLS_FETCH();
params[0]=_readline_string_zval(_readline_completion);
params[1]=_readline_string_zval(text);