From 1e919abde7e37b6f89a0faefda801ca63238d265 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Thu, 14 Aug 2008 01:13:18 +0000 Subject: [PATCH] - Fix build on BSD (5_3 and 5_2 are OK) --- ext/standard/crypt_blowfish.c | 2 ++ ext/standard/php_crypt_r.h | 2 ++ 2 files changed, 4 insertions(+) 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(); -- 2.50.1