From: Scott MacVicar Date: Tue, 29 Jul 2008 01:20:28 +0000 (+0000) Subject: Fix build where __const is already defined like OS X. X-Git-Tag: php-5.3.0alpha1~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e30b104148dc20f0e862abb6593545ae7076faf2;p=php Fix build where __const is already defined like OS X. --- diff --git a/ext/standard/crypt_blowfish.c b/ext/standard/crypt_blowfish.c index ee956f48a8..f470b66609 100644 --- a/ext/standard/crypt_blowfish.c +++ b/ext/standard/crypt_blowfish.c @@ -47,6 +47,8 @@ #else #define __CONST #endif +#else +#define __CONST __const #endif #ifdef __i386__ diff --git a/ext/standard/php_crypt_r.h b/ext/standard/php_crypt_r.h index ad4e23add5..39456398c1 100644 --- a/ext/standard/php_crypt_r.h +++ b/ext/standard/php_crypt_r.h @@ -32,6 +32,8 @@ extern "C" #else #define __CONST #endif +#else +#define __CONST __const #endif void php_init_crypt_r();