summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2004-01-08 01:01:39 +0000
committerfoobar <sniper@php.net>2004-01-08 01:01:39 +0000
commitfa82c2afc4b17bee8a5fb60fa9472a145c713bf0 (patch)
treeb4707abe986401e71dd27c6e31a40136ada51d76 /ext
parent4a17522353f35e35b5b32f93b04e21a810141f9d (diff)
downloadphp-git-fa82c2afc4b17bee8a5fb60fa9472a145c713bf0.tar.gz
Added missing constants (bug #26831)
Diffstat (limited to 'ext')
-rw-r--r--ext/imap/php_imap.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index 135d2e3ebc..07131a02f9 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -567,6 +567,17 @@ PHP_MINIT_FUNCTION(imap)
REGISTER_LONG_CONSTANT("LATT_MARKED", LATT_MARKED, CONST_PERSISTENT | CONST_CS);
REGISTER_LONG_CONSTANT("LATT_UNMARKED", LATT_UNMARKED , CONST_PERSISTENT | CONST_CS);
+#ifdef LATT_REFERRAL
+ REGISTER_LONG_CONSTANT("LATT_REFERRAL", LATT_REFERRAL, CONST_PERSISTENT | CONST_CS);
+#endif
+
+#ifdef LATT_HASCHILDREN
+ REGISTER_LONG_CONSTANT("LATT_HASCHILDREN", LATT_HASCHILDREN, CONST_PERSISTENT | CONST_CS);
+#endif
+
+#ifdef LATT_HASNOCHILDREN
+ REGISTER_LONG_CONSTANT("LATT_HASNOCHILDREN", LATT_HASNOCHILDREN, CONST_PERSISTENT | CONST_CS);
+#endif
/* Sort functions */