cvs: /php3/functions sysvsem.c
| From: | Rasmus Lerdorf | Date: | Fri, 14 Apr 2000 13:12:56 +0000 |
| Subject: | cvs: /php3/functions sysvsem.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17907@lists.php.net to get a copy of this message | ||
rasmus Fri Apr 14 06:12:56 2000 EDT
Modified files:
/php3/functions sysvsem.c
Log:
I don't see why this should be gcc dependant. The configure.in check
should be sufficient and this fixes bugs 4140 and 4143
Index: php3/functions/sysvsem.c
diff -u php3/functions/sysvsem.c:1.9 php3/functions/sysvsem.c:1.10
--- php3/functions/sysvsem.c:1.9 Mon Apr 3 11:23:19 2000
+++ php3/functions/sysvsem.c Fri Apr 14 06:12:56 2000
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sysvsem.c,v 1.9 2000/04/03 18:23:19 sas Exp $ */
+/* $Id: sysvsem.c,v 1.10 2000/04/14 13:12:56 rasmus Exp $ */
/* This has been built and tested on Solaris 2.6 and Linux 2.1.122.
* It may not compile or execute correctly on other systems.
@@ -51,7 +51,7 @@
#include "php3_list.h"
#include "php3_sysvsem.h"
-#if !HAVE_SEMUN && defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ == 6
+#if !HAVE_SEMUN
union semun {
int val; /* value for SETVAL */