Skip to content

Commit

Permalink
[mono] Fixup name of define (dotnet#66523)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger authored Mar 11, 2022
1 parent 392c151 commit 641386c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini-amd64.h
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ typedef struct {

#define MONO_ARCH_USE_SIGACTION 1

#ifdef HAVE_WORKING_SIGALTSTACK
#ifdef ENABLE_SIGALTSTACK

#define MONO_ARCH_SIGSEGV_ON_ALTSTACK

Expand Down
4 changes: 2 additions & 2 deletions src/mono/mono/mini/mini-ppc.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ typedef struct MonoCompileArch {

#define PPC_CALL_REG ppc_r12

#if defined(HAVE_WORKING_SIGALTSTACK) && !defined(__APPLE__)
#if defined(ENABLE_SIGALTSTACK) && !defined(__APPLE__)
#define MONO_ARCH_SIGSEGV_ON_ALTSTACK 1
#define MONO_ARCH_SIGNAL_STACK_SIZE (12 * 1024)
#endif /* HAVE_WORKING_SIGALTSTACK */
#endif /* ENABLE_SIGALTSTACK */

#define MONO_ARCH_IMT_REG ppc_r11

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini-sparc.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ typedef struct MonoCompileArch {

#define MONO_ARCH_USE_SIGACTION 1

#ifdef HAVE_WORKING_SIGALTSTACK
#ifdef ENABLE_SIGALTSTACK
/*#define MONO_ARCH_SIGSEGV_ON_ALTSTACK*/
#endif

Expand Down
4 changes: 2 additions & 2 deletions src/mono/mono/mini/mini-x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ LONG CALLBACK seh_handler(EXCEPTION_POINTERS* ep);

#ifndef HOST_WIN32

#ifdef HAVE_WORKING_SIGALTSTACK
#ifdef ENABLE_SIGALTSTACK
/*
* solaris doesn't have pthread_getattr_np () needed by the sigaltstack setup
* code.
Expand All @@ -59,7 +59,7 @@ LONG CALLBACK seh_handler(EXCEPTION_POINTERS* ep);
#define MONO_ARCH_USE_SIGACTION
#endif /* __HAIKU__ */

#endif /* HAVE_WORKING_SIGALTSTACK */
#endif /* ENABLE_SIGALTSTACK */
#endif /* !HOST_WIN32 */

#define MONO_ARCH_SUPPORT_TASKLETS 1
Expand Down

0 comments on commit 641386c

Please sign in to comment.