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:
Sam 2023-07-08 23:16:30 -07:00 committed by GitHub
commit 889a02557b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,9 +10,6 @@
#if defined(__APPLE__)
#include "TargetConditionals.h"
#if TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_TV
#define system(s) ((s)==NULL ? 0 : -1)
#endif // end iOS
#endif
#include <limits.h>