aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary Pierson <zacpiersonhehe@gmail.com>2018-07-02 02:50:08 -0500
committerZachary Pierson <zacpiersonhehe@gmail.com>2018-07-02 02:50:08 -0500
commit5de3b07e2b54fcf3be089e0cf064265abcb13e63 (patch)
treea0ea082b108e39eec4f2611625499a3b8104173c /src
parentc0ca4d4635ebdc280278f483980365069380a06e (diff)
Made `os_osx.odin` use the new-style `runtime.args__` and added `read_directory` for macOS
Diffstat (limited to 'src')
-rw-r--r--src/common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.cpp b/src/common.cpp
index ec6ec7798..adeebc410 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -822,7 +822,7 @@ ReadDirectoryError read_directory(String path, Array<FileInfo> *fi) {
return ReadDirectory_None;
}
-#elif defined(GB_SYSTEM_LINUX)
+#elif defined(GB_SYSTEM_LINUX) || defined(GB_SYSTEM_OSX)
#include <dirent.h>