]> granicus.if.org Git - php/commitdiff
Fix build on platforms where crypt isn't always available
authorScott MacVicar <scottmac@php.net>
Wed, 12 Aug 2009 09:18:41 +0000 (09:18 +0000)
committerScott MacVicar <scottmac@php.net>
Wed, 12 Aug 2009 09:18:41 +0000 (09:18 +0000)
ext/standard/basic_functions.c

index fe797765909ef25017b5fa65ea9a58bd85f801e8..955c03063589e8e9d393a4f15b797295e8d14a95 100644 (file)
@@ -3671,7 +3671,9 @@ PHP_MSHUTDOWN_FUNCTION(basic) /* {{{ */
 #if defined(HAVE_LOCALECONV) && defined(ZTS)
        PHP_MSHUTDOWN(localeconv)(SHUTDOWN_FUNC_ARGS_PASSTHRU);
 #endif
+#if HAVE_CRYPT
        PHP_MSHUTDOWN(crypt)(SHUTDOWN_FUNC_ARGS_PASSTHRU);
+#endif
 
        return SUCCESS;
 }