tony2001 Tue Dec 12 12:11:51 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard crypt.c Log: MFH http://cvs.php.net/viewvc.cgi/php-src/ext/standard/crypt.c?r1=1.62.2.1.2.4&r2=1.62.2.1.2.5&diff_format=u Index: php-src/ext/standard/crypt.c diff -u php-src/ext/standard/crypt.c:1.62.2.1.2.4 php-src/ext/standard/crypt.c:1.62.2.1.2.5 --- php-src/ext/standard/crypt.c:1.62.2.1.2.4 Tue Dec 12 12:06:37 2006 +++ php-src/ext/standard/crypt.c Tue Dec 12 12:11:51 2006 @@ -17,7 +17,7 @@ | Rasmus Lerdorf <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ */ -/* $Id: crypt.c,v 1.62.2.1.2.4 2006/12/12 12:06:37 tony2001 Exp $ */ +/* $Id: crypt.c,v 1.62.2.1.2.5 2006/12/12 12:11:51 tony2001 Exp $ */ #include <stdlib.h> #include "php.h" @@ -148,7 +148,7 @@ salt[2] = '\0'; #endif } -#if defined(HAVE_CRYPT_R) && defined(_REENTRANT) +#if defined(HAVE_CRYPT_R) && (defined(_REENTRANT) || defined(_THREAD_SAFE)) { #if defined(CRYPT_R_STRUCT_CRYPT_DATA) struct crypt_data buffer;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php