aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-7-03b21/cacao-arm-ucontext.patch
blob: c21fcf1537dfc52171a5830de3ffc5f4b8b33c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c
===================================================================
--- cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c	2013-01-26 21:30:54.206581090 +0100
+++ cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c	2013-01-26 21:31:34.406991316 +0100
@@ -28,19 +28,7 @@
 
 #include <stdint.h>
 
-#define ucontext broken_glibc_ucontext
-#define ucontext_t broken_glibc_ucontext_t
 #include <ucontext.h>
-#undef ucontext
-#undef ucontext_t
-
-typedef struct ucontext {
-   unsigned long     uc_flags;
-   struct ucontext  *uc_link;
-   stack_t           uc_stack;
-   struct sigcontext uc_mcontext;
-   sigset_t          uc_sigmask;
-} ucontext_t;
 
 #define scontext_t struct sigcontext