archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libstdc++5 / repos / extra-x86_64 / gcc-3.4.6-ucontext.patch
blob536186d169f4a6b7fc494e2488b7a19976ffa6c1
1 --- gcc-3.4.6/gcc/config/i386/linux64.h
2 +++ gcc-3.4.6/gcc/config/i386/linux64.h
3 @@ -90,7 +90,7 @@
4 if (*(unsigned char *)(pc_+0) == 0x48 \
5 && *(unsigned long *)(pc_+1) == 0x050f0000000fc0c7) \
6 { \
7 - struct ucontext *uc_ = (CONTEXT)->cfa; \
8 + ucontext_t *uc_ = (CONTEXT)->cfa; \
9 sc_ = (struct sigcontext *) &uc_->uc_mcontext; \
10 } \
11 else \
12 @@ -160,7 +160,7 @@
13 struct siginfo *pinfo; \
14 void *puc; \
15 struct siginfo info; \
16 - struct ucontext uc; \
17 + ucontext_t uc; \
18 } *rt_ = (CONTEXT)->cfa; \
19 sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
20 } \