mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-15 13:55:07 +00:00
Fix a bug with the `#if's that could cause
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user