summaryrefslogtreecommitdiff
path: root/ext/readline/php_readline.h
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>1999-10-14 16:53:51 +0000
committerThies C. Arntzen <thies@php.net>1999-10-14 16:53:51 +0000
commit185d90fe22ccaec0cf5f35b686cd13633b23c0d6 (patch)
tree903ef00b1f8b7ea643310b3f846712479d06d091 /ext/readline/php_readline.h
parentead9008644c966fcd0a4d9a02033db2b163cf9f7 (diff)
downloadphp-git-185d90fe22ccaec0cf5f35b686cd13633b23c0d6.tar.gz
configure works for me (RH 6.1)
@- Added readline support. Works *only* in standalone mode! (Thies)
Diffstat (limited to 'ext/readline/php_readline.h')
-rw-r--r--ext/readline/php_readline.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/readline/php_readline.h b/ext/readline/php_readline.h
index 6080489258..72ca7187d0 100644
--- a/ext/readline/php_readline.h
+++ b/ext/readline/php_readline.h
@@ -22,6 +22,13 @@
#define _PHP_READLINE_H
#if HAVE_LIBREADLINE
+#ifdef ZTS
+#error Readline module will *NEVER* be thread-safe
+#endif
+
+#ifndef CGI_BINARY
+#error Readline module only useable in standalone-binary
+#endif
extern zend_module_entry readline_module_entry;
#define phpext_readline_ptr &readline_module_entry