Fix compiling on iOS
iOS can, in fact, use the system() stdlib call Signed-off-by: Sam <48739810+The-SamminAter@users.noreply.github.com>
This commit is contained in:
1 file changed
-3
@@ -10,9 +10,6 @@
|
|||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
#include "TargetConditionals.h"
|
#include "TargetConditionals.h"
|
||||||
#if TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_TV
|
|
||||||
#define system(s) ((s)==NULL ? 0 : -1)
|
|
||||||
#endif // end iOS
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|||||||
Reference in new issue
Block a user