Allow changing RUBY_PATCHLEVEL_STR if RUBY_PATCHLEVEL == -1 (#8578)
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
This commit is contained in:
parent
32baa2c7df
commit
68df43788d
@ -55,7 +55,11 @@
|
||||
#endif
|
||||
|
||||
#if RUBY_PATCHLEVEL == -1
|
||||
# ifdef RUBY_PATCHLEVEL_NAME
|
||||
# define RUBY_PATCHLEVEL_STR STRINGIZE(RUBY_PATCHLEVEL_NAME)
|
||||
# else
|
||||
# define RUBY_PATCHLEVEL_STR "dev"
|
||||
# endif
|
||||
#elif defined RUBY_ABI_VERSION
|
||||
# error RUBY_ABI_VERSION is defined in non-development branch
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user