[erlang-questions] [PATCH R12B-0] fix HiPE x86 build on OSX Leopard

Mikael Pettersson mikpe@REDACTED
Fri Dec 7 15:28:17 CET 2007


Update HiPE x86 to use the officially sanctioned type name for
alternate signal stacks. Fixes build error on OSX Leopard.

This change has been committed and will appear in R12B-1.

--- otp_src_R12B-0/erts/emulator/hipe/hipe_x86_signal.c.~1~	2007-11-26 19:58:54.000000000 +0100
+++ otp_src_R12B-0/erts/emulator/hipe/hipe_x86_signal.c	2007-12-07 13:12:36.000000000 +0100
@@ -256,7 +256,7 @@ int sigaction(int signum, const struct s
  */
 static void hipe_sigaltstack(void *ss_sp)
 {
-    struct sigaltstack ss;
+    stack_t ss;
 
     ss.ss_sp = ss_sp;
     ss.ss_flags = SS_ONSTACK;



More information about the erlang-questions mailing list