aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-04 14:26:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-04 14:26:24 +0000
commit8c0a1074706644e65a97108fa243751962ddb721 (patch)
treee8bfd3be0d3287900fa562aebc094f5f33e461c8 /include
parent6f72a2b13988aa2f8d451f1e052d4efb3a9cdc76 (diff)
downloadruby-8c0a1074706644e65a97108fa243751962ddb721.tar.gz
win32.h: fix macro name
* include/ruby/win32.h: fix macro name for VC runtime version, RT_VER is only in Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index e6bc077206..0d07745eda 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -170,7 +170,7 @@ typedef int clockid_t;
#define off_t __int64
#define stat stati64
#define fstat(fd,st) fstati64(fd,st)
-#if !defined(_MSC_VER) || RT_VER < 80
+#if !defined(_MSC_VER) || RUBY_MSVCRT_VERSION < 80
#define stati64 _stati64
#ifndef _stati64
#define _stati64(path, st) rb_w32_stati64(path, st)