summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/cont.c b/cont.c
index 633900fff8..839b6703a9 100644
--- a/cont.c
+++ b/cont.c
@@ -47,8 +47,13 @@
#define RB_PAGE_SIZE (pagesize)
#define RB_PAGE_MASK (~(RB_PAGE_SIZE - 1))
static long pagesize;
-#define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x10000)
-#endif
+
+ #if SIZEOF_VOIDP==8
+ #define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x100000)
+ #else
+ #define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x10000)
+ #endif
+#endif /*FIBER_USE_NATIVE*/
#define CAPTURE_JUST_VALID_VM_STACK 1