mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-18 13:49:55 +01:00
Fix iOS detection
This commit is contained in:
@ -5,6 +5,13 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sqstdsystem.h>
|
#include <sqstdsystem.h>
|
||||||
|
|
||||||
|
#if defined(__APPLE__) && !defined(IOS)
|
||||||
|
#include <TargetConditionals.h>
|
||||||
|
#if TARGET_OS_IPHONE
|
||||||
|
#define IOS
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef SQUNICODE
|
#ifdef SQUNICODE
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#define scgetenv _wgetenv
|
#define scgetenv _wgetenv
|
||||||
|
|||||||
Reference in New Issue
Block a user