diff --git a/engine/src/flutter/third_party/txt/src/txt/platform_mac.mm b/engine/src/flutter/third_party/txt/src/txt/platform_mac.mm index b15ce10ef3..8b6bb9c33c 100644 --- a/engine/src/flutter/third_party/txt/src/txt/platform_mac.mm +++ b/engine/src/flutter/third_party/txt/src/txt/platform_mac.mm @@ -5,7 +5,7 @@ #include #include "txt/platform.h" -#if TARGET_OS_EMBEDDED +#if TARGET_OS_EMBEDDED || TARGET_OS_SIMULATOR #include #define FONT_CLASS UIFont #else // TARGET_OS_EMBEDDED