diff options
-rw-r--r-- | Zend/zend.h | 6 | ||||
-rw-r--r-- | Zend/zend_types.h | 29 |
2 files changed, 30 insertions, 5 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 82e8c186c0..f1995d61e4 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -178,11 +178,7 @@ char *alloca (); #include "zend_errors.h" #include "zend_alloc.h" -typedef unsigned char zend_bool; -typedef unsigned char zend_uchar; -typedef unsigned int zend_uint; -typedef unsigned long zend_ulong; -typedef unsigned short zend_ushort; +#include "zend_types.h" #ifdef HAVE_LIMITS_H # include <limits.h> diff --git a/Zend/zend_types.h b/Zend/zend_types.h new file mode 100644 index 0000000000..cad5b43a0f --- /dev/null +++ b/Zend/zend_types.h @@ -0,0 +1,29 @@ +/* + +----------------------------------------------------------------------+ + | Zend Engine | + +----------------------------------------------------------------------+ + | Copyright (c) 1998-2002 Zend Technologies Ltd. (http://www.zend.com) | + +----------------------------------------------------------------------+ + | This source file is subject to version 2.00 of the Zend license, | + | that is bundled with this package in the file LICENSE, and is | + | available at through the world-wide-web at | + | http://www.zend.com/license/2_00.txt. | + | If you did not receive a copy of the Zend license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@zend.com so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Authors: Andi Gutmans <andi@zend.com> | + | Zeev Suraski <zeev@zend.com> | + +----------------------------------------------------------------------+ +*/ + +#ifndef ZEND_TYPES_H +#define ZEND_TYPES_H + +typedef unsigned char zend_bool; +typedef unsigned char zend_uchar; +typedef unsigned int zend_uint; +typedef unsigned long zend_ulong; +typedef unsigned short zend_ushort; + +#endif /* ZEND_TYPES_H */ |