summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-27 02:04:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-27 02:04:51 +0000
commit355076660142581517b794650613f718a1eee30a (patch)
tree0e6e2f25dae6aed15da0604b208a0d66bbd7a6ab /vm_dump.c
parentc553ee2db807083a609b728c449956bf5b9f8727 (diff)
* vm_dump.c (VMDEBUG): suppress undefined macro warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 8667a7a500..5fd93548b2 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -13,6 +13,11 @@
#include "addr2line.h"
#include "vm_core.h"
+/* see vm_insnhelper.h for the values */
+#ifndef VMDEBUG
+#define VMDEBUG 0
+#endif
+
#define MAX_POSBUF 128
#define VM_CFP_CNT(th, cfp) \