]> granicus.if.org Git - php/commitdiff
Fix OSX build problem in this branch as well
authorRasmus Lerdorf <rasmus@php.net>
Wed, 20 Aug 2008 20:04:52 +0000 (20:04 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 20 Aug 2008 20:04:52 +0000 (20:04 +0000)
ext/posix/posix.c

index 2f33e96eeb564c2fdbeba7cff44a68fcc50b4342..2ade7d76824cd91f6960f5c22e4d7d5857aba322 100644 (file)
@@ -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
 }