summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2021-04-29 14:31:05 +0200
committerBenoit Daloze <eregontp@gmail.com>2021-05-04 14:56:55 +0200
commit68d6bd0873557c12bec6f8e0f8db622f1499d8a7 (patch)
treedd50dae6ebbf714d19e3db7272f0d9b6af86223e /vm.c
parent229cbeba8c928dc6ee5eb21951e00c43a6e5225c (diff)
Fix trivial -Wundef warnings
* See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4428
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 8c62d7dd91..ea8b21e7a5 100644
--- a/vm.c
+++ b/vm.c
@@ -3262,7 +3262,7 @@ static VALUE
nsdr(VALUE self)
{
VALUE ary = rb_ary_new();
-#if HAVE_BACKTRACE
+#ifdef HAVE_BACKTRACE
#include <execinfo.h>
#define MAX_NATIVE_TRACE 1024
static void *trace[MAX_NATIVE_TRACE];