diff options
author | Marcus Boerger <helly@php.net> | 2005-06-23 00:19:16 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-06-23 00:19:16 +0000 |
commit | 5cf2c9dc454261d55085826ef7865921cd894053 (patch) | |
tree | 7594a01966b831cbe13780a7a7ca32d6d5578eee /ext/pdo_mysql/pdo_mysql.c | |
parent | 6553a4c7e23bcc47b71dc10040ebfab4789b96f7 (diff) | |
download | php-git-5cf2c9dc454261d55085826ef7865921cd894053.tar.gz |
- Add +ifdefs to still allow PHP 5.0 builds of PDO
# PDO is a PECL extension and at the moment is still meant to compile on
# both PHP 5.0 and PHP 5.1.
Diffstat (limited to 'ext/pdo_mysql/pdo_mysql.c')
-rwxr-xr-x | ext/pdo_mysql/pdo_mysql.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/pdo_mysql/pdo_mysql.c b/ext/pdo_mysql/pdo_mysql.c index ff3321376d..ccf22d0438 100755 --- a/ext/pdo_mysql/pdo_mysql.c +++ b/ext/pdo_mysql/pdo_mysql.c @@ -37,16 +37,22 @@ function_entry pdo_mysql_functions[] = { /* }}} */ /* {{{ pdo_mysql_functions[] */ +#if ZEND_EXTENSION_API_NO >= 220050617 static zend_module_dep pdo_mysql_deps[] = { ZEND_MOD_REQUIRED("pdo") {NULL, NULL, NULL} }; +#endif /* }}} */ /* {{{ pdo_mysql_module_entry */ zend_module_entry pdo_mysql_module_entry = { +#if ZEND_EXTENSION_API_NO >= 220050617 STANDARD_MODULE_HEADER_EX, NULL, pdo_mysql_deps, +#else + STANDARD_MODULE_HEADER, +#endif "pdo_mysql", pdo_mysql_functions, PHP_MINIT(pdo_mysql), |