Bug #3593: cont.cで"PAGE_SIZE" redefined
http://redmine.ruby-lang.org/issues/show/3593

起票者: Yui NARUSE
ステータス: Open, 優先度: Normal
担当者: Koichi Sasada, Target version: 1.9.2
ruby -v: ruby 1.9.3dev (2010-07-21 trunk 28703) [x86_64-freebsd8.1]

cont.cで以下のようなwarningがでます。
ifndefを使うべきか、RB_PAGE_SIZEなどと別の名前を使うべきか迷ったので、対処お願いします。
../../ruby/cont.c:45:1: warning: "PAGE_SIZE" redefined
In file included from /usr/include/sys/param.h:110,
                 from /usr/include/pthread_np.h:34,
                 from ../../ruby/thread_pthread.h:16,
                 from ../../ruby/vm_core.h:29,
                 from ../../ruby/cont.c:13:
/usr/include/machine/param.h:100:1: warning: this is the location of the previous definition
../../ruby/cont.c:46:1: warning: "PAGE_MASK" redefined
/usr/include/machine/param.h:101:1: warning: this is the location of the previous definition
../../ruby/cont.c:45:1: warning: "PAGE_SIZE" redefined
In file included from /usr/include/sys/param.h:111,
                 from /usr/include/pthread_np.h:35,
                 from ../../ruby/thread_pthread.h:17,
                 from ../../ruby/vm_core.h:30,
                 from ../../ruby/cont.c:14:
/usr/include/machine/param.h:100:1: warning: this is the location of the previous definition
../../ruby/cont.c:46:1: warning: "PAGE_MASK" redefined
/usr/include/machine/param.h:101:1: warning: this is the location of the previous definition
../../ruby/cont.c: In function 'fiber_initialize_machine_stack_context':
../../ruby/cont.c:567: warning: assignment from incompatible pointer type


----------------------------------------
http://redmine.ruby-lang.org