summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-30 02:22:51 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-30 02:22:51 +0000
commitac397a9eeeb2b4a0716cea77ff2de1ace1203dd9 (patch)
tree49df4a37028b83568bbce27e890ded59f60e9ab7 /vm_core.h
parent18bc6c31a1a0831ae6dda645a13b2df13d761fe8 (diff)
* vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index 5f4e5d47f1..21e7d866c5 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -383,8 +383,8 @@ struct rb_unblock_callback {
struct rb_mutex_struct;
-#ifdef SIGSTKSZ
-#define ALT_STACK_SIZE (SIGSTKSZ*2)
+#ifdef MINSIGSTKSZ
+#define ALT_STACK_SIZE (MINSIGSTKSZ*2)
#else
#define ALT_STACK_SIZE (4*1024)
#endif