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

ruby-changes:7047

From: knu <ko1@a...>
Date: Wed, 13 Aug 2008 15:53:40 +0900 (JST)
Subject: [ruby-changes:7047] Ruby:r18565 (trunk): * string.c: Apply a temporary fix to fix build on OS X. A real

knu	2008-08-13 15:53:24 +0900 (Wed, 13 Aug 2008)

  New Revision: 18565

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

  Log:
    * string.c: Apply a temporary fix to fix build on OS X.  A real
      fix will follow later.

  Modified files:
    trunk/ChangeLog
    trunk/string.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 18564)
+++ ChangeLog	(revision 18565)
@@ -1,3 +1,8 @@
+Wed Aug 13 15:51:22 2008  Akinori MUSHA  <knu@i...>
+
+	* string.c: Apply a temporary fix to fix build on OS X.  A real
+	  fix will follow later.
+
 Wed Aug 13 15:25:09 2008  Akinori MUSHA  <knu@i...>
 
 	* enumerator.c (Init_Enumerator): Rename Enumerable::Enumerator to
Index: string.c
===================================================================
--- string.c	(revision 18564)
+++ string.c	(revision 18565)
@@ -43,7 +43,7 @@
 VALUE rb_cString;
 VALUE rb_cSymbol;
 
-#ifdef __GNUC__
+#if defined(__GNUC__) && !(defined(__APPLE__) && (defined(__MACH__) || defined(__DARWIN__)))
 #define alias_func(old_prot, new_name, args) \
 VALUE old_prot __attribute__((alias(#new_name)));
 #else

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

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