diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-13 06:53:24 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-13 06:53:24 +0000 |
commit | 0d242ac61a3a55e82a417d30940d2cc63148a822 (patch) | |
tree | 86405e8db2f92148f19d0c8bd95a01dd2c702976 | |
parent | 7b8e762afa1118c1758637a40277bc04206ab98e (diff) | |
download | ruby-0d242ac61a3a55e82a417d30940d2cc63148a822.tar.gz |
* string.c: Apply a temporary fix to fix build on OS X. A real
fix will follow later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | string.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Aug 13 15:51:22 2008 Akinori MUSHA <knu@iDaemons.org> + + * 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@iDaemons.org> * enumerator.c (Init_Enumerator): Rename Enumerable::Enumerator to @@ -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 |