]> granicus.if.org Git - php/commitdiff
fix bug #51276 (php_load_extension() is missing when HAVE_LIBDL is undefined)
authorAntony Dovgal <tony2001@php.net>
Tue, 8 Jun 2010 12:54:11 +0000 (12:54 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 8 Jun 2010 12:54:11 +0000 (12:54 +0000)
main/php_ini.c

index 40cd7efe06f6fb6cf1f9d018140358093c914c95..42710418c61b96931bb214a19e2d847dc69c5433 100644 (file)
@@ -346,7 +346,9 @@ static void php_ini_parser_cb(zval *arg1, zval *arg2, zval *arg3, int callback_t
  */
 static void php_load_php_extension_cb(void *arg TSRMLS_DC)
 {
+#ifdef HAVE_LIBDL
        php_load_extension(*((char **) arg), MODULE_PERSISTENT, 0 TSRMLS_CC);
+#endif
 }
 /* }}} */