1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-09 01:29:44 +00:00

Include TargetConditionals.h where needed

Fixes build failure "error: 'TARGET_OS_IPHONE' is not defined, evaluates
to 0" on macOS with newer versions of clang.
This commit is contained in:
Ryan Carsten Schmidt 2023-12-21 23:33:58 -06:00
parent 6c4905d961
commit 5e87692102

View File

@ -14,6 +14,7 @@
// TODO: figure out correct include paths for other platforms.
#ifdef __APPLE__
#include <TargetConditionals.h>
#if TARGET_OS_IPHONE
#else
// These remain so that I can, at least for now, build the kiosk version under macOS.