[macruby-changes] [4223] MacRuby/trunk/bridgesupport.cpp

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 14 16:53:51 PDT 2010


Revision: 4223
          http://trac.macosforge.org/projects/ruby/changeset/4223
Author:   lsansonetti at apple.com
Date:     2010-06-14 16:53:49 -0700 (Mon, 14 Jun 2010)
Log Message:
-----------
better guard against missing 64-bit informal protocol annotations

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

Modified: MacRuby/trunk/bridgesupport.cpp
===================================================================
--- MacRuby/trunk/bridgesupport.cpp	2010-06-12 21:51:40 UTC (rev 4222)
+++ MacRuby/trunk/bridgesupport.cpp	2010-06-14 23:53:49 UTC (rev 4223)
@@ -1223,7 +1223,7 @@
 		: bs_informal_protocol_imethods;
 
 	    char *type;
-#if __LP64__
+#if __LP64__ && MAC_OS_X_VERSION_MAX_ALLOWED < 1070
 	    // XXX workaround <rdar://problem/7318177> 64-bit informal protocol annotations are missing
 	    // Manually converting some 32-bit types to 64-bit...
 	    const size_t typelen = strlen(bs_inf_prot_method->type) + 1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100614/9096b6c9/attachment.html>


More information about the macruby-changes mailing list