From 355076660142581517b794650613f718a1eee30a Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 27 Jul 2011 02:04:51 +0000 Subject: [PATCH] * 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 --- vm_dump.c | 5 +++++ 1 file changed, 5 insertions(+) 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) \