Author: dcoakley
Date: 2014-08-22 21:05:18 -0400 (Fri, 22 Aug 2014)
New Revision: 4115

Modified:
   trunk/osprey-gcc-4.2.0/gcc/config/i386/linux-unwind.h
Log:
Allow compiling with either siginfo_t or the older "struct siginfo" type.

Approved by: Jian-Xin


Modified: trunk/osprey-gcc-4.2.0/gcc/config/i386/linux-unwind.h
===================================================================
--- trunk/osprey-gcc-4.2.0/gcc/config/i386/linux-unwind.h       2014-08-22 
02:53:24 UTC (rev 4114)
+++ trunk/osprey-gcc-4.2.0/gcc/config/i386/linux-unwind.h       2014-08-23 
01:05:18 UTC (rev 4115)
@@ -137,9 +137,17 @@
     {
       struct rt_sigframe {
        int sig;
+#ifdef __have_siginfo_t
+       siginfo_t *pinfo;
+#else
        struct siginfo *pinfo;
+#endif
        void *puc;
+#ifdef __have_siginfo_t
+       siginfo_t info;
+#else
        struct siginfo info;
+#endif
        struct ucontext uc;
       } *rt_ = context->cfa;
       /* The void * cast is necessary to avoid an aliasing warning.


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to