mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-11 14:08:41 +01:00
Fix iOS detection
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user