#undef DEBUG for compatibility with environments that define DEBUG (like Xcode)

Signed-off-by: Patrick Hogan <pbhogan@gmail.com>
This commit is contained in:
Patrick Hogan
2012-04-20 09:32:35 -05:00
parent c8c90d3644
commit 4cb86f87a1
+4
View File
@@ -388,6 +388,10 @@ void mrb_write_barrier(mrb_state *, struct RBasic*);
#define MRUBY_VERSION "Rite"
#ifdef DEBUG
#undef DEBUG
#endif
#if 0
#define DEBUG(x) x
#else