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

ruby-changes:24087

From: nobu <ko1@a...>
Date: Tue, 19 Jun 2012 18:44:06 +0900 (JST)
Subject: [ruby-changes:24087] nobu:r36138 (trunk): [Bug #6607]

nobu	2012-06-19 18:43:53 +0900 (Tue, 19 Jun 2012)

  New Revision: 36138

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

  Log:
    [Bug #6607]
    
    * include/ruby/backward/rubysig.h: fix visibility.  [Bug #6607]

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

Index: include/ruby/backward/rubysig.h
===================================================================
--- include/ruby/backward/rubysig.h	(revision 36137)
+++ include/ruby/backward/rubysig.h	(revision 36138)
@@ -27,6 +27,10 @@
 #endif
 #endif
 
+#if defined __GNUC__ && __GNUC__ >= 4
+#pragma GCC visibility push(default)
+#endif
+
 struct rb_blocking_region_buffer;
 DEPRECATED(RUBY_EXTERN struct rb_blocking_region_buffer *rb_thread_blocking_region_begin(void));
 DEPRECATED(RUBY_EXTERN void rb_thread_blocking_region_end(struct rb_blocking_region_buffer *));
@@ -38,6 +42,10 @@
 #define ALLOW_INTS do {CHECK_INTS;} while (0)
 #define CHECK_INTS rb_thread_check_ints()
 
+#if defined __GNUC__ && __GNUC__ >= 4
+#pragma GCC visibility pop
+#endif
+
 #if defined(__cplusplus)
 #if 0
 { /* satisfy cc-mode */
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36137)
+++ ChangeLog	(revision 36138)
@@ -1,3 +1,7 @@
+Tue Jun 19 18:43:50 2012  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/backward/rubysig.h: fix visibility.  [Bug #6607]
+
 Tue Jun 19 17:51:54 2012  Nobuyoshi Nakada  <nobu@r...>
 
 	* process.c (rb_execarg_run_options): do not call any methods in the

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

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