From: Rasmus Lerdorf Date: Wed, 20 Aug 2008 20:04:52 +0000 (+0000) Subject: Fix OSX build problem in this branch as well X-Git-Tag: php-5.2.7RC1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b94207ccb80aa3f54e2fad9752bad9b626b9dff8;p=php Fix OSX build problem in this branch as well --- diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 2f33e96eeb..2ade7d7682 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -467,7 +467,7 @@ PHP_FUNCTION(posix_uname) add_assoc_string(return_value, "release", u.release, 1); add_assoc_string(return_value, "version", u.version, 1); add_assoc_string(return_value, "machine", u.machine, 1); -#ifdef _GNU_SOURCE +#if defined(_GNU_SOURCE) && !defined(DARWIN) add_assoc_string(return_value, "domainname", u.domainname, 1); #endif }