[macruby-changes] [3184] MacRuby/trunk/dispatcher.cpp

source_changes at macosforge.org source_changes at macosforge.org
Mon Jan 4 14:05:58 PST 2010


Revision: 3184
          http://trac.macosforge.org/projects/ruby/changeset/3184
Author:   lsansonetti at apple.com
Date:     2010-01-04 14:05:56 -0800 (Mon, 04 Jan 2010)
Log Message:
-----------
fix Leopard build (patch by kouji at takao7.net)

Modified Paths:
--------------
    MacRuby/trunk/dispatcher.cpp

Modified: MacRuby/trunk/dispatcher.cpp
===================================================================
--- MacRuby/trunk/dispatcher.cpp	2010-01-04 19:01:13 UTC (rev 3183)
+++ MacRuby/trunk/dispatcher.cpp	2010-01-04 22:05:56 UTC (rev 3184)
@@ -1821,6 +1821,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
+
 bool
 RoxorCore::respond_to(VALUE obj, VALUE klass, SEL sel, bool priv,
 	bool check_override)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100104/69bc6958/attachment.html>


More information about the macruby-changes mailing list