* 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
This commit is contained in:
knu 2008-08-13 06:53:24 +00:00
parent 7b8e762afa
commit 0d242ac61a
2 changed files with 6 additions and 1 deletions

View File

@ -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> Wed Aug 13 15:25:09 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c (Init_Enumerator): Rename Enumerable::Enumerator to * enumerator.c (Init_Enumerator): Rename Enumerable::Enumerator to

View File

@ -43,7 +43,7 @@
VALUE rb_cString; VALUE rb_cString;
VALUE rb_cSymbol; VALUE rb_cSymbol;
#ifdef __GNUC__ #if defined(__GNUC__) && !(defined(__APPLE__) && (defined(__MACH__) || defined(__DARWIN__)))
#define alias_func(old_prot, new_name, args) \ #define alias_func(old_prot, new_name, args) \
VALUE old_prot __attribute__((alias(#new_name))); VALUE old_prot __attribute__((alias(#new_name)));
#else #else