summaryrefslogtreecommitdiff
path: root/ext/readline/php_readline.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-08-22 10:25:24 +0000
committerfoobar <sniper@php.net>2001-08-22 10:25:24 +0000
commit93311d93015e6d9a2deab94ad6c6fc557c93d9c9 (patch)
tree975de546a243004b2e13bc2a37eb516fbeaf95e4 /ext/readline/php_readline.h
parent1f30f907b9dbe215e27c12f44ddab8528b9996a2 (diff)
downloadphp-git-93311d93015e6d9a2deab94ad6c6fc557c93d9c9.tar.gz
Fixed two problems:
- CGI_BINARY was defined always thus this extension could be compiled with even when not building CGI binary. - HAVE_READLINE => HAVE_LIBREADLINE (typo)
Diffstat (limited to 'ext/readline/php_readline.h')
-rw-r--r--ext/readline/php_readline.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/readline/php_readline.h b/ext/readline/php_readline.h
index 72913200fc..f5803fbd49 100644
--- a/ext/readline/php_readline.h
+++ b/ext/readline/php_readline.h
@@ -26,10 +26,6 @@
#warning 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