summaryrefslogtreecommitdiff
path: root/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'version.h')
-rw-r--r--version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/version.h b/version.h
index 1187802b71..50582a76a1 100644
--- a/version.h
+++ b/version.h
@@ -11,7 +11,9 @@
#define RUBY_RELEASE_MONTH 5
#define RUBY_RELEASE_DAY 18
+#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];
RUBY_EXTERN const char ruby_release_date[];
RUBY_EXTERN const char ruby_platform[];
RUBY_EXTERN const int ruby_patchlevel;
+#endif