Fix issue with detecting iOS build

This commit is contained in:
Georg Hagen
2024-07-31 22:21:28 +02:00
parent eb88c7487c
commit eb9f4764ca

View File

@@ -9,10 +9,10 @@
#include "Provider/Network/ArSessionStream.h" #include "Provider/Network/ArSessionStream.h"
#ifdef __APPLE__ #ifdef __APPLE__
#include <TargetConditionals.h> #include <TargetConditionals.h>
#if TARGET_OS_MAC #if TARGET_OS_IOS == 1
#include "Provider/ArSessionNull.hpp"
#else
#include "Provider/ArKit/ArSessionArKit.h" #include "Provider/ArKit/ArSessionArKit.h"
#else
#include "Provider/ArSessionNull.hpp"
#endif #endif
#else #else
#ifdef ANDROID #ifdef ANDROID