]> granicus.if.org Git - php/commitdiff
Fix build where __const is already defined like OS X.
authorScott MacVicar <scottmac@php.net>
Tue, 29 Jul 2008 01:20:28 +0000 (01:20 +0000)
committerScott MacVicar <scottmac@php.net>
Tue, 29 Jul 2008 01:20:28 +0000 (01:20 +0000)
ext/standard/crypt_blowfish.c
ext/standard/php_crypt_r.h

index ee956f48a83b722c2357d1595067ef8c114b10d6..f470b66609fd66019040f98f564623c1fc76dda3 100644 (file)
@@ -47,6 +47,8 @@
 #else
 #define __CONST
 #endif
+#else
+#define __CONST __const
 #endif
 
 #ifdef __i386__
index ad4e23add5e159c23038f57897d6c6150c93160a..39456398c1dafc2d382db12006b2448d5967ee35 100644 (file)
@@ -32,6 +32,8 @@ extern "C"
 #else
 #define __CONST
 #endif
+#else
+#define __CONST __const
 #endif
 
 void php_init_crypt_r();