[macruby-changes] [4810] MacRuby/trunk/include/ruby/defines.h

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 20 15:24:07 PDT 2010


Revision: 4810
          http://trac.macosforge.org/projects/ruby/changeset/4810
Author:   lsansonetti at apple.com
Date:     2010-10-20 15:24:06 -0700 (Wed, 20 Oct 2010)
Log Message:
-----------
add __MACRUBY__ macro constant

Modified Paths:
--------------
    MacRuby/trunk/include/ruby/defines.h

Modified: MacRuby/trunk/include/ruby/defines.h
===================================================================
--- MacRuby/trunk/include/ruby/defines.h	2010-10-20 01:19:19 UTC (rev 4809)
+++ MacRuby/trunk/include/ruby/defines.h	2010-10-20 22:24:06 UTC (rev 4810)
@@ -291,6 +291,8 @@
 
 #define force_inline __attribute__((always_inline))
 
+#define __MACRUBY__ 1
+
 #if defined(__cplusplus)
 #if 0
 { /* satisfy cc-mode */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101020/e02c2253/attachment.html>


More information about the macruby-changes mailing list