|
@@ -21,6 +21,18 @@
|
|
#define LUA_USE_MACOSX
|
|
#define LUA_USE_MACOSX
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+** system() not available on mobile
|
|
|
|
+*/
|
|
|
|
+#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
|
|
|
|
+#elif defined(__ANDROID__)
|
|
|
|
+ #define system(s) ((s)==NULL ? 0 : -1)
|
|
|
|
+#endif
|
|
|
|
+
|
|
/*
|
|
/*
|
|
** ==================================================================
|
|
** ==================================================================
|
|
** Search for "@@" to find all configurable definitions.
|
|
** Search for "@@" to find all configurable definitions.
|