[Mono-bugs] [Bug 56449][Nor] New - On NetBSD SA_STACK isn't defined

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 4 Apr 2004 06:45:38 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by recht@netbsd.org.

http://bugzilla.ximian.com/show_bug.cgi?id=56449

--- shadow/56449	2004-04-04 06:45:38.000000000 -0400
+++ shadow/56449.tmp.26429	2004-04-04 06:45:38.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 56449
+Product: Mono: Runtime
+Version: unspecified
+OS: other
+OS Details: NetBSD 2.0_BETA i386
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: recht@netbsd.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: On NetBSD SA_STACK isn't defined
+
+Description of Problem:
+
+On NetBSD SA_STACK isn't defined.
+
+Steps to reproduce the problem:
+1. make
+
+Additional Information:
+
+--- mono/mini/mini-x86.h.orig 2004-03-20 15:40:23.000000000 +0100
++++ mono/mini/mini-x86.h   2004-03-20 15:40:52.000000000 +0100
+@@ -43,6 +43,9 @@
+                                                                          
+     
+ #ifdef HAVE_WORKING_SIGALTSTACK
+ #define MONO_ARCH_SIGSEGV_ON_ALTSTACK
++#ifndef SA_STACK
++#define SA_STACK SA_ONSTACK
++#endif
+ #endif
+                                                                          
+     
+ #endif