summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2019-05-19 14:40:15 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2019-05-19 14:40:15 -0700
commit533d9675271212f948b4284471b7be15d3a56d99 (patch)
tree1e0431bc61be7be56f442c54634a746b203eb6d4 /system.h
parent34424c32c60c9f4ccbcce02e948da87045c1cc8c (diff)
Make Cydia compile "out of the box" on Xcode 10.2.
Diffstat (limited to 'system.h')
-rw-r--r--system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/system.h b/system.h
new file mode 100644
index 0000000..132f524
--- /dev/null
+++ b/system.h
@@ -0,0 +1,7 @@
+#define system apl_system
+#include <stdlib.h>
+#undef system
+#ifdef __cplusplus
+extern "C"
+#endif
+int system(const char *);