[macruby-changes] [2314] MacRuby/trunk/include/ruby/defines.h
source_changes at macosforge.org
source_changes at macosforge.org
Thu Aug 13 16:15:30 PDT 2009
Revision: 2314
http://trac.macosforge.org/projects/ruby/changeset/2314
Author: lsansonetti at apple.com
Date: 2009-08-13 16:15:27 -0700 (Thu, 13 Aug 2009)
Log Message:
-----------
make sure to include the availability macros header before using them...
Modified Paths:
--------------
MacRuby/trunk/include/ruby/defines.h
Modified: MacRuby/trunk/include/ruby/defines.h
===================================================================
--- MacRuby/trunk/include/ruby/defines.h 2009-08-13 22:42:01 UTC (rev 2313)
+++ MacRuby/trunk/include/ruby/defines.h 2009-08-13 23:15:27 UTC (rev 2314)
@@ -77,6 +77,8 @@
# define SIZEOF_LONG_LONG SIZEOF___INT64
#endif
+#include <AvailabilityMacros.h>
+
#if defined(__LP64__) && (MAC_OS_X_VERSION_MAX_ALLOWED >= 1060)
# define BDIGIT uint64_t
# define SIZEOF_BDIGITS 8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090813/89feb388/attachment.html>
More information about the macruby-changes
mailing list