[m-dev.] diff: fix bug in boehm_gc/os_dep.c

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Oct 29 03:47:22 AEST 1999


Estimated hours taken: 0.1

boehm_gc/os_dep.c:
	Fix a bug with the `#if's that could cause
	trouble for glibc 3.0.

Workspace: /home/mercury0/fjh/mercury
Index: boehm_gc/os_dep.c
===================================================================
RCS file: /home/mercury1/repository/mercury/boehm_gc/os_dep.c,v
retrieving revision 1.23
diff -u -d -r1.23 os_dep.c
--- os_dep.c	1999/10/26 14:44:15	1.23
+++ os_dep.c	1999/10/28 17:43:35
@@ -34,7 +34,7 @@
       /* make sure the former gets defined to be the latter if appropriate. */
 #     include <features.h>
 #     if 2 <= __GLIBC__
-#       if 0 == __GLIBC_MINOR__
+#       if 2 == __GLIBC__ && 0 == __GLIBC_MINOR__
 	  /* glibc 2.1 no longer has sigcontext.h.  But signal.h	*/
 	  /* has the right declaration for glibc 2.1.			*/
 #         include <sigcontext.h>

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list