fix target_os_ios macro condition

This commit is contained in:
scawful
2024-07-31 12:42:04 -04:00
parent 3ffc88f183
commit 45941ec24c

View File

@@ -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