[前][次][番号順一覧][スレッド一覧]

ruby-changes:39679

From: nobu <ko1@a...>
Date: Fri, 4 Sep 2015 23:26:35 +0900 (JST)
Subject: [ruby-changes:39679] nobu:r51760 (trunk): win32.h: fix macro name

nobu	2015-09-04 23:26:24 +0900 (Fri, 04 Sep 2015)

  New Revision: 51760

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51760

  Log:
    win32.h: fix macro name
    
    * include/ruby/win32.h: fix macro name for VC runtime version,
      RT_VER is only in Makefile.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/win32.h
Index: include/ruby/win32.h
===================================================================
--- include/ruby/win32.h	(revision 51759)
+++ include/ruby/win32.h	(revision 51760)
@@ -170,7 +170,7 @@ typedef int clockid_t; https://github.com/ruby/ruby/blob/trunk/include/ruby/win32.h#L170
 #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)
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51759)
+++ ChangeLog	(revision 51760)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Sep  4 23:26:22 2015  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/win32.h: fix macro name for VC runtime version,
+	  RT_VER is only in Makefile.
+
 Fri Sep  4 17:46:17 2015  SHIBATA Hiroshi  <hsbt@r...>
 
 	* doc/contributing.rdoc: fix configuration option.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]