summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger
diff options
context:
space:
mode:
authordearblue <[email protected]>2019-07-14 00:29:17 +0900
committerdearblue <[email protected]>2019-07-14 00:29:17 +0900
commitc96b517ea28efe7f45a91873142d6449b2a4c59c (patch)
tree77efc7eabeb17ee601d406ade68c3be436eb2919 /mrbgems/mruby-bin-debugger
parenta7be9f1cab2e9b09995bb388e1219784920610e7 (diff)
downloadmruby-c96b517ea28efe7f45a91873142d6449b2a4c59c.tar.gz
mruby-c96b517ea28efe7f45a91873142d6449b2a4c59c.zip
Error needed/conflicts configuration
The purpose is to clarify the error if there is a needed/conflicts configuration at compile time.
Diffstat (limited to 'mrbgems/mruby-bin-debugger')
-rw-r--r--mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
index f17f9c57d..de2f90144 100644
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
@@ -6,6 +6,10 @@
#ifndef MRDBCONF_H
#define MRDBCONF_H
+#ifndef MRB_ENABLE_DEBUG_HOOK
+# error Need 'MRB_ENABLE_DEBUG_HOOK' configuration in your 'build_config.rb'
+#endif
+
/* configuration options: */
/* maximum size for command buffer */
#define MAX_COMMAND_LINE 1024