diff options
author | Thies C. Arntzen <thies@php.net> | 2000-04-15 15:32:32 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-04-15 15:32:32 +0000 |
commit | a1608562aeaaf67ed73a7b2ef6cf4668a98a54ae (patch) | |
tree | 586f2ddf4e74eac4ca6e833c15dbc753358ccabe /Zend/zend_extensions.c | |
parent | b8fd6744538015cbb65fcd7eaaa11b67f7e67014 (diff) | |
download | php-git-a1608562aeaaf67ed73a7b2ef6cf4668a98a54ae.tar.gz |
fixes compile on platforms without dl() support.
#i think zend_register_extension should be declared static
Diffstat (limited to 'Zend/zend_extensions.c')
-rw-r--r-- | Zend/zend_extensions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_extensions.c b/Zend/zend_extensions.c index efd45b496a..e126f724b4 100644 --- a/Zend/zend_extensions.c +++ b/Zend/zend_extensions.c @@ -110,6 +110,7 @@ int zend_load_extension(char *path) int zend_register_extension(zend_extension *new_extension, DL_HANDLE handle) { +#if ZEND_EXTENSIONS_SUPPORT zend_extension extension; if (new_extension->startup) { @@ -126,6 +127,7 @@ int zend_register_extension(zend_extension *new_extension, DL_HANDLE handle) zend_append_version_info(&extension); /*fprintf(stderr, "Loaded %s, version %s\n", extension.name, extension.version);*/ +#endif return SUCCESS; } |