[macruby-changes] [4086] MacRuby/trunk/include/ruby/defines.h
source_changes at macosforge.org
source_changes at macosforge.org
Wed May 12 18:49:34 PDT 2010
Revision: 4086
http://trac.macosforge.org/projects/ruby/changeset/4086
Author: lsansonetti at apple.com
Date: 2010-05-12 18:49:31 -0700 (Wed, 12 May 2010)
Log Message:
-----------
define HAVE_RUBY_VM_H (some extensions use that variable to determine if they build against 1.9)
Modified Paths:
--------------
MacRuby/trunk/include/ruby/defines.h
Modified: MacRuby/trunk/include/ruby/defines.h
===================================================================
--- MacRuby/trunk/include/ruby/defines.h 2010-05-13 01:40:37 UTC (rev 4085)
+++ MacRuby/trunk/include/ruby/defines.h 2010-05-13 01:49:31 UTC (rev 4086)
@@ -289,6 +289,11 @@
#define WITH_OBJC 1 /* TODO: this should be set by configure */
+#ifndef HAVE_RUBY_VM_H
+// Some C extensions use that variable to determine if they build against 1.9.
+#define HAVE_RUBY_VM_H
+#endif
+
#define force_inline __attribute__((always_inline))
#if defined(__cplusplus)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100512/d81de501/attachment.html>
More information about the macruby-changes
mailing list