From e1322a88785df84d7844578bc4a73184fde9da9a Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 27 Jul 2018 10:47:55 -0700 Subject: [PATCH] iOS/tvOS tool fix (when CFFI is unavailable) --- tools/platforms/IOSPlatform.hx | 2 +- tools/platforms/TVOSPlatform.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/platforms/IOSPlatform.hx b/tools/platforms/IOSPlatform.hx index 1cdc244ea..b9d43b5bd 100644 --- a/tools/platforms/IOSPlatform.hx +++ b/tools/platforms/IOSPlatform.hx @@ -583,7 +583,7 @@ class IOSPlatform extends PlatformTarget { if (!FileSystem.exists (imagePath)) { - #if lime + #if (lime && lime_cffi && !macro) LogHelper.info ("", " - \x1b[1mGenerating image:\x1b[0m " + imagePath); var image = new Image (null, 0, 0, size.w, size.h, (0xFF << 24) | (project.window.background & 0xFFFFFF)); diff --git a/tools/platforms/TVOSPlatform.hx b/tools/platforms/TVOSPlatform.hx index 707393346..901eea0d6 100644 --- a/tools/platforms/TVOSPlatform.hx +++ b/tools/platforms/TVOSPlatform.hx @@ -470,7 +470,7 @@ class TVOSPlatform extends PlatformTarget { if (!FileSystem.exists (imagePath)) { - #if lime + #if (lime && lime_cffi && !macro) LogHelper.info ("", " - \x1b[1mGenerating image:\x1b[0m " + imagePath); var image = new Image (null, 0, 0, size.w, size.h, (0xFF << 24) | (project.window.background & 0xFFFFFF));