From 185d90fe22ccaec0cf5f35b686cd13633b23c0d6 Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Thu, 14 Oct 1999 16:53:51 +0000 Subject: configure works for me (RH 6.1) @- Added readline support. Works *only* in standalone mode! (Thies) --- ext/readline/php_readline.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ext/readline/php_readline.h') 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 -- cgit v1.2.1