We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a17e7f2 commit b245819Copy full SHA for b245819
langs/outlaw/os.c
@@ -0,0 +1,8 @@
1
+// return 1 for macosx, 0 otherwise (assumed to be unix)
2
+int system_type() {
3
+ #if __APPLE__
4
+ return 1;
5
+ #else
6
+ return 0;
7
+ #endif
8
+}
0 commit comments