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

ruby-changes:29305

From: akr <ko1@a...>
Date: Mon, 17 Jun 2013 20:56:33 +0900 (JST)
Subject: [ruby-changes:29305] akr:r41357 (trunk): * loadpath.c (RUBY_REVISION): Defined to suppress revision.h

akr	2013-06-17 20:56:21 +0900 (Mon, 17 Jun 2013)

  New Revision: 41357

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

  Log:
    * loadpath.c (RUBY_REVISION): Defined to suppress revision.h
      inclusion actually.  r41352 removes the dependency.

  Modified files:
    trunk/ChangeLog
    trunk/loadpath.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41356)
+++ ChangeLog	(revision 41357)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jun 17 20:53:21 2013  Tanaka Akira  <akr@f...>
+
+	* loadpath.c (RUBY_REVISION): Defined to suppress revision.h
+	  inclusion actually.  r41352 removes the dependency.
+
 Mon Jun 17 18:15:57 2013  Benoit Daloze  <eregontp@g...>
 
 	* ext/objspace/objspace.c: let rdoc know about objspace methods.
Index: loadpath.c
===================================================================
--- loadpath.c	(revision 41356)
+++ loadpath.c	(revision 41357)
@@ -11,6 +11,9 @@ https://github.com/ruby/ruby/blob/trunk/loadpath.c#L11
 
 #include "verconf.h"
 #include "ruby/ruby.h"
+
+/* Define RUBY_REVISION to avoid revision.h inclusion via version.h. */
+#define RUBY_REVISION 0
 #include "version.h"
 
 #ifndef RUBY_ARCH

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

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