зеркало из https://github.com/github/ruby.git
Check only whether `RUBY_DEVEL` is defined
This commit is contained in:
Родитель
ba8f3d2c6c
Коммит
8b98b9e274
|
@ -10713,7 +10713,7 @@ typedef unsigned int ibf_offset_t;
|
||||||
#define IBF_OFFSET(ptr) ((ibf_offset_t)(VALUE)(ptr))
|
#define IBF_OFFSET(ptr) ((ibf_offset_t)(VALUE)(ptr))
|
||||||
|
|
||||||
#define IBF_MAJOR_VERSION ISEQ_MAJOR_VERSION
|
#define IBF_MAJOR_VERSION ISEQ_MAJOR_VERSION
|
||||||
#if RUBY_DEVEL
|
#ifdef RUBY_DEVEL
|
||||||
#define IBF_DEVEL_VERSION 4
|
#define IBF_DEVEL_VERSION 4
|
||||||
#define IBF_MINOR_VERSION (ISEQ_MINOR_VERSION * 10000 + IBF_DEVEL_VERSION)
|
#define IBF_MINOR_VERSION (ISEQ_MINOR_VERSION * 10000 + IBF_DEVEL_VERSION)
|
||||||
#else
|
#else
|
||||||
|
|
2
main.c
2
main.c
|
@ -23,7 +23,7 @@
|
||||||
#ifdef HAVE_LOCALE_H
|
#ifdef HAVE_LOCALE_H
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
#if RUBY_DEVEL && !defined RUBY_DEBUG_ENV
|
#if defined RUBY_DEVEL && !defined RUBY_DEBUG_ENV
|
||||||
# define RUBY_DEBUG_ENV 1
|
# define RUBY_DEBUG_ENV 1
|
||||||
#endif
|
#endif
|
||||||
#if defined RUBY_DEBUG_ENV && !RUBY_DEBUG_ENV
|
#if defined RUBY_DEBUG_ENV && !RUBY_DEBUG_ENV
|
||||||
|
|
Загрузка…
Ссылка в новой задаче