summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 678a515bdf..b5433f9094 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -383,6 +383,12 @@ struct rb_unblock_callback {
struct rb_mutex_struct;
+#ifdef SIGSTKSZ
+#define ALT_STACK_SIZE (SIGSTKSZ*2)
+#else
+#define ALT_STACK_SIZE (4*1024)
+#endif
+
typedef struct rb_thread_struct {
VALUE self;
rb_vm_t *vm;