aboutsummaryrefslogtreecommitdiffstats
path: root/main/gc/fix-boehm-gc.patch
blob: 88ffc99d79cee1fdd8bb42a35cc301a6e101d39f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gc-7.2.orig/os_dep.c
+++ gc-7.2/os_dep.c
@@ -26,7 +26,7 @@
 #   define __KERNEL__
 #   include <asm/signal.h>
 #   undef __KERNEL__
-# else
+# elif defined(__GLIBC__)
     /* Kernels prior to 2.1.1 defined struct sigcontext_struct instead of */
     /* struct sigcontext.  libc6 (glibc2) uses "struct sigcontext" in     */
     /* prototypes, so we have to include the top-level sigcontext.h to    */