cvs: /php4/ext/standard basic_functions.c

From: Date: Tue, 07 Mar 2000 12:28:36 +0000
Subject: cvs: /php4/ext/standard basic_functions.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-11669@lists.php.net to get a copy of this message
rubys Tue Mar 7 04:28:36 2000 EDT Modified files: /php4/ext/standard basic_functions.c Log: Only define crypt if it is present Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.173 php4/ext/standard/basic_functions.c:1.174 --- php4/ext/standard/basic_functions.c:1.173 Mon Mar 6 12:37:11 2000 +++ php4/ext/standard/basic_functions.c Tue Mar 7 04:28:06 2000 @@ -373,8 +373,10 @@ /* 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(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);

« previous php.version4 (#11669) next »