felipe Thu Aug 14 01:13:18 2008 UTC Modified files: /php-src/ext/standard crypt_blowfish.c php_crypt_r.h Log: - Fix build on BSD (5_3 and 5_2 are OK) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/crypt_blowfish.c?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/crypt_blowfish.c diff -u php-src/ext/standard/crypt_blowfish.c:1.1 php-src/ext/standard/crypt_blowfish.c:1.2 --- php-src/ext/standard/crypt_blowfish.c:1.1 Mon Jul 28 11:34:53 2008 +++ php-src/ext/standard/crypt_blowfish.c Thu Aug 14 01:13:18 2008 @@ -1,5 +1,5 @@ /* - $Id: crypt_blowfish.c,v 1.1 2008/07/28 11:34:53 pajoye Exp $ + $Id: crypt_blowfish.c,v 1.2 2008/08/14 01:13:18 felipe Exp $ */ /* * This code comes from John the Ripper password cracker, with reentrant @@ -47,6 +47,8 @@ #else #define __CONST #endif +#else +#define __CONST __const #endif #ifdef __i386__ http://cvs.php.net/viewvc.cgi/php-src/ext/standard/php_crypt_r.h?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/php_crypt_r.h diff -u php-src/ext/standard/php_crypt_r.h:1.1 php-src/ext/standard/php_crypt_r.h:1.2 --- php-src/ext/standard/php_crypt_r.h:1.1 Mon Jul 28 11:34:53 2008 +++ php-src/ext/standard/php_crypt_r.h Thu Aug 14 01:13:18 2008 @@ -1,4 +1,4 @@ -/* $Id: php_crypt_r.h,v 1.1 2008/07/28 11:34:53 pajoye Exp $ */ +/* $Id: php_crypt_r.h,v 1.2 2008/08/14 01:13:18 felipe Exp $ */ /* +----------------------------------------------------------------------+ | PHP Version 5 | @@ -32,6 +32,8 @@ #else #define __CONST #endif +#else +#define __CONST __const #endif void php_init_crypt_r();
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php