Skip to content

Commit

Permalink
Merge pull request #282 from SirLynix/patch-1
Browse files Browse the repository at this point in the history
Fix iOS detection
  • Loading branch information
albertodemichelis authored Jan 25, 2024
2 parents ac6a095 + 34de6b4 commit c02bf2d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sqstdlib/sqstdsystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c02bf2d

Please sign in to comment.