cvs: php4 /ext/posix posix.c
| From: | Dan Kalowsky | Date: | Wed, 06 Mar 2002 16:14:01 +0000 |
| Subject: | cvs: php4 /ext/posix posix.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9735@lists.php.net to get a copy of this message | ||
kalowsky Wed Mar 6 11:14:01 2002 EDT
Modified files:
/php4/ext/posix posix.c
Log:
When #if BLAHING a section, ensure to make it's prototype included. Returns
build capability to MacOSX.
Index: php4/ext/posix/posix.c
diff -u php4/ext/posix/posix.c:1.41 php4/ext/posix/posix.c:1.42
--- php4/ext/posix/posix.c:1.41 Wed Mar 6 06:26:05 2002
+++ php4/ext/posix/posix.c Wed Mar 6 11:14:00 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: posix.c,v 1.41 2002/03/06 11:26:05 derick Exp $ */
+/* $Id: posix.c,v 1.42 2002/03/06 16:14:00 kalowsky Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -81,8 +81,10 @@
/* Non-Posix functions which are common */
#ifdef HAVE_GETPGID
PHP_FE(posix_getpgid, NULL)
-#endif
+#endif /* HAVE_GETPGID */
+#ifdef HAVE_GETSID
PHP_FE(posix_getsid, NULL)
+#endif /* HAVE_GETSID */
/* POSIX.1, 4.4 */
PHP_FE(posix_uname, NULL)
@@ -128,7 +130,7 @@
static PHP_MINFO_FUNCTION(posix)
{
php_info_print_table_start();
- php_info_print_table_row(2, "Revision", "$Revision: 1.41 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.42 $");
php_info_print_table_end();
}
/* }}} */