Skip to content

Commit b245819

Browse files
committed
Forgot os.c.
1 parent a17e7f2 commit b245819

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

langs/outlaw/os.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)