summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--vm_core.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5bb5e7de7a..2807f26887 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Jul 30 11:21:55 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2.
+
Sat Jul 30 10:39:14 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* vm.c (th_init): preallocate alternative stack.
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