diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-16 00:41:48 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-16 00:41:48 +0900 |
| commit | 2661ac70499601f28741be01e0ce82da0a4733bc (patch) | |
| tree | 398800c7471ab0cad5d37a6d46cb946a1bbc3f6e /include | |
| parent | f93734f6228e541ea4eee5f2dd208981ce6e38bd (diff) | |
| download | mruby-2661ac70499601f28741be01e0ce82da0a4733bc.tar.gz mruby-2661ac70499601f28741be01e0ce82da0a4733bc.zip | |
Add support for iOS platforms that does not support `fork`; fix #4113
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
