This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Update darwin-fallback.c for SUS-like headers


Apple is trying to make its headers more SUS conformant, which means
no 'ppc_float_state_t' in <ucontext.h>.

Bootstrapped & tested on powerpc-darwin8.

-- 
- Geoffrey Keating <geoffk@apple.com>

===File ~/patches/gcc-darwin-posixfallback.patch============
2004-10-29  Geoffrey Keating  <geoffk@apple.com>

	* config/rs6000/darwin-fallback.c: Include <mach/thread_status.h>.

Index: config/rs6000/darwin-fallback.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/darwin-fallback.c,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 darwin-fallback.c
--- config/rs6000/darwin-fallback.c	1 Jul 2004 04:09:05 -0000	1.1
+++ config/rs6000/darwin-fallback.c	29 Oct 2004 22:43:03 -0000
@@ -38,6 +38,7 @@
 #include <stdbool.h>
 #include <signal.h>
 #include <ucontext.h>
+#include <mach/thread_status.h>
 
 typedef unsigned long reg_unit;
 
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]