aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-03 13:37:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-03 13:37:02 +0000
commit15dabe82163717bbdadab82d72e657f5fa731e99 (patch)
tree17ec00efc23db217de48cdaaf2ce297a8b259356 /version.h
parent5d8187d77250484e7f72cbe08d87083a125b9c58 (diff)
downloadruby-15dabe82163717bbdadab82d72e657f5fa731e99.tar.gz
* file.c (rb_file_s_utime): allow nil to set the current time.
* lib/fileutils.rb (touch): ditto, and added :mtime and :nocreate options. fixed: [ruby-talk:219037] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 78f407ea13..90f2886a29 100644
--- a/version.h
+++ b/version.h
@@ -11,7 +11,9 @@
#define RUBY_RELEASE_MONTH 3
#define RUBY_RELEASE_DAY 3
+#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