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

ruby-changes:41238

From: nobu <ko1@a...>
Date: Fri, 25 Dec 2015 23:46:45 +0900 (JST)
Subject: [ruby-changes:41238] nobu:r53310 (trunk): setup.mak: follow up r53303

nobu	2015-12-25 23:46:27 +0900 (Fri, 25 Dec 2015)

  New Revision: 53310

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

  Log:
    setup.mak: follow up r53303
    
    * win32/setup.mak (verconf.mk): follow up r53303.  needs STRINGIZE
      now.

  Modified files:
    trunk/win32/setup.mak
Index: win32/setup.mak
===================================================================
--- win32/setup.mak	(revision 53309)
+++ win32/setup.mak	(revision 53310)
@@ -128,11 +128,16 @@ MSC_VER = _MSC_VER https://github.com/ruby/ruby/blob/trunk/win32/setup.mak#L128
 <<
 
 verconf.mk: nul
-	@echo RUBY_RELEASE_DATE \>$(@)
 	@$(CPP) -I$(srcdir) -I$(srcdir)/include <<"Creating $(@)" | findstr "=" >>$(@)
+#define STRINGIZE(expr) STRINGIZE0(expr)
+#ifndef STRINGIZE0
+#define STRINGIZE0(expr) #expr
+#endif
 #define RUBY_REVISION 0
 #include "version.h"
- = RUBY_RELEASE_DATE
+release_date = RUBY_RELEASE_DATE
+#undef RUBY_RELEASE_DATE
+RUBY_RELEASE_DATE = $(release_date)
 <<
 
 -program-name-:

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

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