We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RUBY_API_VERSION_NAME
1 parent c32eb72 commit 3bbd45dCopy full SHA for 3bbd45d
version.c
@@ -31,13 +31,15 @@
31
# endif
32
# define RUBY_REVISION_STR " "RUBY_BRANCH_NAME" "RUBY_REVISION
33
# else
34
-# define RUBY_API_VERSION_NAME RUBY_API_VERSION_STR
35
# define RUBY_REVISION_STR " revision "RUBY_REVISION
36
37
#else
38
# define RUBY_REVISION "HEAD"
39
# define RUBY_REVISION_STR ""
40
#endif
+#ifndef RUBY_API_VERSION_NAME
41
+# define RUBY_API_VERSION_NAME RUBY_API_VERSION_STR
42
+#endif
43
#if !defined RUBY_RELEASE_DATETIME || RUBY_PATCHLEVEL != -1
44
# undef RUBY_RELEASE_DATETIME
45
# define RUBY_RELEASE_DATETIME RUBY_RELEASE_DATE
0 commit comments