mirror of
https://github.com/php/php-src.git
synced 2024-10-15 13:32:39 +00:00
44 lines
1.6 KiB
C
44 lines
1.6 KiB
C
/*
|
|
+----------------------------------------------------------------------+
|
|
| PHP version 4.0 |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to version 2.01 of the PHP license, |
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
| available at through the world-wide-web at |
|
|
| http://www.php.net/license/2_01.txt. |
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
+----------------------------------------------------------------------+
|
|
| Authors: Thies C. Arntzen (thies@digicol.de) |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
/* $Id$ */
|
|
|
|
#ifndef _PHP_READLINE_H
|
|
#define _PHP_READLINE_H
|
|
|
|
#if HAVE_LIBREADLINE
|
|
#ifdef ZTS
|
|
#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
|
|
|
|
#else
|
|
|
|
#define phpext_readline_ptr NULL
|
|
|
|
#endif /* HAVE_LIBREADLINE */
|
|
|
|
#endif /* _PHP_READLINE_H */
|
|
|