From 80ec0e024974a5a921076e3a835b692733247177 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 4 Apr 2014 14:21:58 +0200 Subject: [PATCH] line not needed without the handler, and SIGSTKSZ is not defined on win32 --- src/simix/smx_private.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/simix/smx_private.h b/src/simix/smx_private.h index db37ffb679..1cb5514f45 100644 --- a/src/simix/smx_private.h +++ b/src/simix/smx_private.h @@ -209,7 +209,9 @@ typedef struct s_smx_action { void SIMIX_context_mod_init(void); void SIMIX_context_mod_exit(void); +#ifndef WIN32 XBT_PUBLIC_DATA(char sigsegv_stack[SIGSTKSZ]); +#endif /* We are using the bottom of the stack to save some information, like the * valgrind_stack_id. Define smx_context_usable_stack_size to give the remaining -- 2.20.1