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

ruby-changes:42881

From: usa <ko1@a...>
Date: Mon, 9 May 2016 05:34:53 +0900 (JST)
Subject: [ruby-changes:42881] usa:r54955 (trunk): * include/ruby/ruby.h (CONSTFUNC, PUREFUNC): fixed build errors on

usa	2016-05-09 06:31:23 +0900 (Mon, 09 May 2016)

  New Revision: 54955

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

  Log:
    * include/ruby/ruby.h (CONSTFUNC, PUREFUNC): fixed build errors on
      non-gcc build environments introduced at r54952.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/ruby.h
Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 54954)
+++ include/ruby/ruby.h	(revision 54955)
@@ -36,6 +36,12 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L36
 #include "defines.h"
 
 #define NORETURN_STYLE_NEW 1
+#ifndef CONSTFUNC
+# define CONSTFUNC(x) x
+#endif
+#ifndef PUREFUNC
+# define PUREFUNC(x) x
+#endif
 #ifndef NORETURN
 # define NORETURN(x) x
 #endif
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54954)
+++ ChangeLog	(revision 54955)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon May  9 06:30:12 2016  NAKAMURA Usaku  <usa@r...>
+
+	* include/ruby/ruby.h (CONSTFUNC, PUREFUNC): fixed build errors on
+	  non-gcc build environments introduced at r54952.
+
 Mon May  9 02:51:51 2016  NARUSE, Yui  <naruse@r...>
 
 	* gc.c (rb_gc_unprotect_logging): throw rb_memerror when it cannot

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

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