Fix iOS detection

This commit is contained in:
Jérôme Leclercq
2024-01-22 13:56:21 +01:00
committed by GitHub
parent ac6a09555f
commit 34de6b437b

View File

@ -5,6 +5,13 @@
#include <stdio.h>
#include <sqstdsystem.h>
#if defined(__APPLE__) && !defined(IOS)
#include <TargetConditionals.h>
#if TARGET_OS_IPHONE
#define IOS
#endif
#endif
#ifdef SQUNICODE
#include <wchar.h>
#define scgetenv _wgetenv