diff options
author | Arnaud Le Blanc <lbarnaud@php.net> | 2008-09-20 22:12:43 +0000 |
---|---|---|
committer | Arnaud Le Blanc <lbarnaud@php.net> | 2008-09-20 22:12:43 +0000 |
commit | a7279c4457b6c20ada05ea0ac61ba7074edf1598 (patch) | |
tree | 83596232649b62af2f6b0c8c776dfebd266fdce4 /ext/posix/posix.c | |
parent | b6a4094c030c74561b94b2c8004d969719e42d3e (diff) | |
download | php-git-a7279c4457b6c20ada05ea0ac61ba7074edf1598.tar.gz |
MFH: Fixed #46059 (Compile failure under IRIX 6.5.30 building posix.c)
Diffstat (limited to 'ext/posix/posix.c')
-rw-r--r-- | ext/posix/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 685d4e3942..4c7d90d58d 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -667,7 +667,7 @@ PHP_FUNCTION(posix_uname) add_assoc_string(return_value, "version", u.version, 1); add_assoc_string(return_value, "machine", u.machine, 1); -#if defined(_GNU_SOURCE) && !defined(DARWIN) +#if defined(_GNU_SOURCE) && !defined(DARWIN) && defined(HAVE_UTSNAME_DOMAINNAME) add_assoc_string(return_value, "domainname", u.domainname, 1); #endif } |