MFH: add ZEND_DEBUG_BUILD constant

This commit is contained in:
Jani Taskinen 2007-11-20 16:34:25 +00:00
parent 48878f2ecd
commit 5e123ebef9

View File

@ -142,6 +142,12 @@ void zend_register_standard_constants(TSRMLS_D)
c.value.value.lval = ZTS_V;
c.value.type = IS_BOOL;
zend_register_constant(&c TSRMLS_CC);
c.name = zend_strndup(ZEND_STRL("ZEND_DEBUG_BUILD"));
c.name_len = sizeof("ZEND_DEBUG_BUILD");
c.value.value.lval = ZEND_DEBUG;
c.value.type = IS_BOOL;
zend_register_constant(&c TSRMLS_CC);
}
}