mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Check only whether RUBY_DEVEL
is defined
This commit is contained in:
parent
ba8f3d2c6c
commit
8b98b9e274
2 changed files with 2 additions and 2 deletions
|
@ -10713,7 +10713,7 @@ typedef unsigned int ibf_offset_t;
|
|||
#define IBF_OFFSET(ptr) ((ibf_offset_t)(VALUE)(ptr))
|
||||
|
||||
#define IBF_MAJOR_VERSION ISEQ_MAJOR_VERSION
|
||||
#if RUBY_DEVEL
|
||||
#ifdef RUBY_DEVEL
|
||||
#define IBF_DEVEL_VERSION 4
|
||||
#define IBF_MINOR_VERSION (ISEQ_MINOR_VERSION * 10000 + IBF_DEVEL_VERSION)
|
||||
#else
|
||||
|
|
2
main.c
2
main.c
|
@ -23,7 +23,7 @@
|
|||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
#endif
|
||||
#if RUBY_DEVEL && !defined RUBY_DEBUG_ENV
|
||||
#if defined RUBY_DEVEL && !defined RUBY_DEBUG_ENV
|
||||
# define RUBY_DEBUG_ENV 1
|
||||
#endif
|
||||
#if defined RUBY_DEBUG_ENV && !RUBY_DEBUG_ENV
|
||||
|
|
Loading…
Add table
Reference in a new issue