summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorYuichiro MASUI <[email protected]>2013-02-17 00:13:42 +0900
committerYuichiro MASUI <[email protected]>2013-02-17 00:13:42 +0900
commitbc44d06c7374d5b925d8936227e6976622365a3e (patch)
tree31a06ca5897a6c5411e65dd055576fa056ad5726 /include/mrbconf.h
parent92cf2a0ced00cf4071d624eb2d842867a6d054c2 (diff)
downloadmruby-bc44d06c7374d5b925d8936227e6976622365a3e.tar.gz
mruby-bc44d06c7374d5b925d8936227e6976622365a3e.zip
Created hook at VM code fetch. It's for debugger
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 17f6a0fc3..74cbd308b 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -50,6 +50,7 @@
//#define DISABLE_TIME /* Time class */
//#define DISABLE_STRUCT /* Struct class */
//#define DISABLE_STDIO /* use of stdio */
+//#define DISABLE_DEBUG /* hooks for debugger */
/* Now DISABLE_GEMS is added as a command line flag in Rakefile, */
/* we do not need to set it here. */
@@ -118,6 +119,9 @@ typedef short mrb_sym;
#ifndef DISABLE_STDIO
#define ENABLE_STDIO
#endif
+#ifndef DISABLE_DEBUG
+#define ENABLE_DEBUG
+#endif
#ifndef FALSE
# define FALSE 0