[macruby-changes] [2333] MacRuby/trunk/vm.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 15 19:49:53 PDT 2009
Revision: 2333
http://trac.macosforge.org/projects/ruby/changeset/2333
Author: vincent.isambart at gmail.com
Date: 2009-08-15 19:49:50 -0700 (Sat, 15 Aug 2009)
Log Message:
-----------
fixed a compilation error on Leopard
Modified Paths:
--------------
MacRuby/trunk/vm.cpp
Modified: MacRuby/trunk/vm.cpp
===================================================================
--- MacRuby/trunk/vm.cpp 2009-08-16 02:04:38 UTC (rev 2332)
+++ MacRuby/trunk/vm.cpp 2009-08-16 02:49:50 UTC (rev 2333)
@@ -3851,6 +3851,11 @@
extern IMP basic_respond_to_imp; // vm_method.c
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
+// the function is available on Leopard but it's not declared
+extern "C" id _objc_msgForward(id receiver, SEL sel, ...);
+#endif
+
static inline IMP
class_respond_to(Class klass, SEL sel)
{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090815/ca62b267/attachment-0001.html>
More information about the macruby-changes
mailing list