mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* dir.c (glob_helper): use #ifdef instead of #if.
gcc's -Wundef option shows warning for undefined macro. * numeric.c (flo_is_finite_p): ditto. * vm_dump.c (rb_vmdebug_thread_dump_state): ditto. * vm_core.h: define VM_DEBUG_VERIFY_METHOD_CACHE to 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1e55b27e2c
commit
68f55c4b35
5 changed files with 19 additions and 4 deletions
|
@ -474,6 +474,10 @@ typedef struct rb_vm_struct {
|
|||
#define VM_DEBUG_BP_CHECK 0
|
||||
#endif
|
||||
|
||||
#ifndef VM_DEBUG_VERIFY_METHOD_CACHE
|
||||
#define VM_DEBUG_VERIFY_METHOD_CACHE 0
|
||||
#endif
|
||||
|
||||
typedef struct rb_control_frame_struct {
|
||||
VALUE *pc; /* cfp[0] */
|
||||
VALUE *sp; /* cfp[1] */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue