1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 06:51:18 +02:00

Only define crypt if it is present

This commit is contained in:
Sam Ruby
2000-03-07 12:28:06 +00:00
parent ae11f08d69
commit ec8add1a4c
+6
View File
@@ -373,8 +373,10 @@ function_entry basic_functions[] = {
/* functions from browscap.c */
PHP_FE(get_browser, NULL)
#if HAVE_CRYPT
/* functions from crypt.c */
PHP_FE(crypt, NULL)
#endif
/* functions from dir.c */
PHP_FE(opendir, NULL)
@@ -604,7 +606,11 @@ PHP_MINIT_FUNCTION(basic)
PHP_MINIT(fsock)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(pack)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(browscap)(INIT_FUNC_ARGS_PASSTHRU);
#if HAVE_CRYPT
PHP_MINIT(crypt)(INIT_FUNC_ARGS_PASSTHRU);
#endif
PHP_MINIT(dir)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(syslog)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(array)(INIT_FUNC_ARGS_PASSTHRU);