rasmus Wed Aug 20 20:04:52 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/posix posix.c
Log:
Fix OSX build problem in this branch as well
http://cvs.php.net/viewvc.cgi/php-src/ext/posix/posix.c?r1=1.70.2.3.2.18&r2=1.70.2.3.2.19&diff_format=u
Index: php-src/ext/posix/posix.c
diff -u php-src/ext/posix/posix.c:1.70.2.3.2.18
php-src/ext/posix/posix.c:1.70.2.3.2.19
--- php-src/ext/posix/posix.c:1.70.2.3.2.18 Fri Apr 11 11:00:24 2008
+++ php-src/ext/posix/posix.c Wed Aug 20 20:04:52 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: posix.c,v 1.70.2.3.2.18 2008/04/11 11:00:24 tony2001 Exp $ */
+/* $Id: posix.c,v 1.70.2.3.2.19 2008/08/20 20:04:52 rasmus Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -147,7 +147,7 @@
static PHP_MINFO_FUNCTION(posix)
{
php_info_print_table_start();
- php_info_print_table_row(2, "Revision", "$Revision: 1.70.2.3.2.18 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.70.2.3.2.19 $");
php_info_print_table_end();
}
/* }}} */
@@ -467,7 +467,7 @@
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
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php