summaryrefslogtreecommitdiff
path: root/main/php_ini.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-11-06 10:01:55 +0000
committerZeev Suraski <zeev@php.net>1999-11-06 10:01:55 +0000
commit0700ad3417ccb4c2670512bb8204cd2539c9ee9d (patch)
tree6ea5018960b59ca6d6ad13e5740d469ce3deb3ca /main/php_ini.h
parentc6b05b2e6b0f13d9610955d48f9b58b9716a3be8 (diff)
downloadphp-git-0700ad3417ccb4c2670512bb8204cd2539c9ee9d.tar.gz
- Win32 fixes
- COM module improvements from Boris Wedl
Diffstat (limited to 'main/php_ini.h')
-rw-r--r--main/php_ini.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/php_ini.h b/main/php_ini.h
index 339c4aa7ac..1aa64c3da5 100644
--- a/main/php_ini.h
+++ b/main/php_ini.h
@@ -117,11 +117,12 @@ PHPAPI PHP_INI_DISP(php_ini_color_displayer_cb);
#define INI_INT(name) php_ini_long((name), sizeof(name), 0)
#define INI_FLT(name) php_ini_double((name), sizeof(name), 0)
#define INI_STR(name) php_ini_string((name), sizeof(name), 0)
-
+#define INI_BOOL(name) ((zend_bool) INI_INT(name))
#define INI_ORIG_INT(name) php_ini_long((name), sizeof(name), 1)
#define INI_ORIG_FLT(name) php_ini_double((name), sizeof(name), 1)
#define INI_ORIG_STR(name) php_ini_string((name), sizeof(name), 1)
+#define INI_ORIG_BOOL(name) ((zend_bool) INI_ORIG_INT(name))
#define REGISTER_INI_ENTRIES() php_register_ini_entries(ini_entries, module_number)