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

ruby-changes:30121

From: naruse <ko1@a...>
Date: Fri, 26 Jul 2013 01:39:00 +0900 (JST)
Subject: [ruby-changes:30121] naruse:r42173 (trunk): * include/ruby/ruby.h: check defined(USE_RGENGC_LOGGING_WB_UNPROTECT)

naruse	2013-07-26 01:38:49 +0900 (Fri, 26 Jul 2013)

  New Revision: 42173

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

  Log:
    * include/ruby/ruby.h: check defined(USE_RGENGC_LOGGING_WB_UNPROTECT)

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/ruby.h

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 42172)
+++ include/ruby/ruby.h	(revision 42173)
@@ -1266,7 +1266,7 @@ void rb_gc_writebarrier_unprotect_promot https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L1266
 #define OBJ_WRITE(a, slot, b)       rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__)
 #define OBJ_WRITTEN(a, oldv, b)     rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__)
 
-#if USE_RGENGC_LOGGING_WB_UNPROTECT
+#if defined(USE_RGENGC_LOGGING_WB_UNPROTECT) && USE_RGENGC_LOGGING_WB_UNPROTECT
 void rb_gc_unprotect_logging(void *objptr, const char *filename, int line);
 #define RGENGC_LOGGING_WB_UNPROTECT rb_gc_unprotect_logging
 #endif
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42172)
+++ ChangeLog	(revision 42173)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jul 26 01:37:45 2013  NARUSE, Yui  <naruse@r...>
+
+	* include/ruby/ruby.h: check defined(USE_RGENGC_LOGGING_WB_UNPROTECT)
+
 Fri Jul 26 01:21:41 2013  NARUSE, Yui  <naruse@r...>
 
 	* file.c (rb_file_expand_path_internal): fix r42160; skip '~'.

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

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