From 8a5e6f47f28a73d2d37907aa9e680f36c7144d34 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Thu, 23 Jun 2022 22:25:15 -0700 Subject: [PATCH] Match #if at end of vm.c --- src/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm.c b/src/vm.c index 358d34e64..25f43b0ed 100644 --- a/src/vm.c +++ b/src/vm.c @@ -32,7 +32,7 @@ void abort(void); #endif #endif -#if defined(__cplusplus) +#if defined(MRB_USE_CXX_EXCEPTION) && defined(__cplusplus) # if !defined(MRB_USE_CXX_ABI) extern "C" { # endif