From 0b67ec47f3d984a8c965d7e683c963bb5c07c263 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 26 Jan 2015 22:50:44 +0900 Subject: [PATCH] don't use indirect gotos in strict mode --- extlib/benz/include/picrin/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extlib/benz/include/picrin/config.h b/extlib/benz/include/picrin/config.h index 6f0294be..d994c2c4 100644 --- a/extlib/benz/include/picrin/config.h +++ b/extlib/benz/include/picrin/config.h @@ -40,7 +40,7 @@ /* #define GC_DEBUG_DETAIL 1 */ #ifndef PIC_DIRECT_THREADED_VM -# if defined(__GNUC__) || defined(__clang__) +# if (defined(__GNUC__) || defined(__clang__)) && __STRICT_ANSI__ != 1 # define PIC_DIRECT_THREADED_VM 1 # endif #endif