From 45941ec24c311269e62b8de9e5a4fe330ed2bdc2 Mon Sep 17 00:00:00 2001 From: scawful Date: Wed, 31 Jul 2024 12:42:04 -0400 Subject: [PATCH] fix target_os_ios macro condition --- src/app/gui/zeml.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/gui/zeml.cc b/src/app/gui/zeml.cc index 8c43a635..f7e3b9ab 100644 --- a/src/app/gui/zeml.cc +++ b/src/app/gui/zeml.cc @@ -593,8 +593,7 @@ std::string LoadFile(const std::string& filename) { const std::string kPath = "assets/layouts/"; #ifdef __APPLE__ - #ifdef TARGET_OS_IOS - + #if TARGET_OS_IOS == 1 const std::string kBundlePath = GetBundleResourcePath(); std::ifstream file(kBundlePath + filename); #else