• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mrubyを超漢字で動作させる


Commit MetaInfo

Revision4cb86f87a1d02ed2c9a659391f3817a930743a8f (tree)
Time2012-04-20 23:32:35
AuthorPatrick Hogan <pbhogan@gmai...>
CommiterPatrick Hogan

Log Message

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

Signed-off-by: Patrick Hogan <pbhogan@gmail.com>

Change Summary

Incremental Difference

--- a/include/mruby.h
+++ b/include/mruby.h
@@ -388,6 +388,10 @@ void mrb_write_barrier(mrb_state *, struct RBasic*);
388388
389389 #define MRUBY_VERSION "Rite"
390390
391+#ifdef DEBUG
392+#undef DEBUG
393+#endif
394+
391395 #if 0
392396 #define DEBUG(x) x
393397 #else