From 2661ac70499601f28741be01e0ce82da0a4733bc Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sun, 16 Sep 2018 00:41:48 +0900 Subject: Add support for iOS platforms that does not support `fork`; fix #4113 --- include/mruby/common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/mruby/common.h b/include/mruby/common.h index d6ec78b0d..4c7d9384a 100644 --- a/include/mruby/common.h +++ b/include/mruby/common.h @@ -7,6 +7,11 @@ #ifndef MRUBY_COMMON_H #define MRUBY_COMMON_H +#ifdef __APPLE__ + #ifndef __TARGETCONDITIONALS__ + #include "TargetConditionals.h" + #endif +#endif #ifdef __cplusplus #ifdef MRB_ENABLE_CXX_ABI -- cgit v1.2.3