define zend_bool
authorZeev Suraski <zeev@php.net>
Fri, 2 Jul 1999 14:10:57 +0000 (14:10 +0000)
committerZeev Suraski <zeev@php.net>
Fri, 2 Jul 1999 14:10:57 +0000 (14:10 +0000)
Zend/acconfig.h
Zend/configure.in
Zend/zend_globals.h

index 7a80526f5529ffa3914eb2b0e777ea1d4ea65f54..13482bb3b3a58e3b270b2a25bc0514a56298859d 100644 (file)
@@ -11,6 +11,9 @@
 /* define ulong by configure if it is missed (most probably is) */
 #undef ulong
 
+/* define zend_bool by configure */
+#undef zend_bool
+
 /* type check for in_addr_t */
 #undef in_addr_t
 
index 4ac9f9ec6dee92774b98a0d878782192a4ab1363..1e1c9e950c03cdd2c7419cc40d9c6f4af59bc4af 100644 (file)
@@ -73,6 +73,7 @@ AC_TYPE_SIZE_T
 dnl This is required for QNX and may be some BSD derived systems
 AC_CHECK_TYPE( uint, unsigned int )
 AC_CHECK_TYPE( ulong, unsigned long )
+AC_CHECK_TYPE( zend_bool, unsigned char )
 
 dnl Checks for library functions.
 AC_FUNC_VPRINTF
index b9d4b615908b40b64fde7005955d9719be621952..e679d000546551dbe3aa41b81505863451097ea9 100644 (file)
@@ -139,14 +139,14 @@ struct _zend_compiler_globals {
 
        zend_llist filenames_list;
 
-       unsigned char short_tags;
-       unsigned char asp_tags;
+       zend_bool short_tags;
+       zend_bool asp_tags;
 
        /* For extensions support */
-       unsigned char extended_info;    /* generate extension information for debugger/profiler */
-       unsigned char handle_op_arrays; /* run op_arrays through op_array handlers */
+       zend_bool extended_info;        /* generate extension information for debugger/profiler */
+       zend_bool handle_op_arrays;     /* run op_arrays through op_array handlers */
 
-       unsigned char unclean_shutdown;
+       zend_bool unclean_shutdown;
 
        zend_llist open_files;
 #ifdef ZTS