aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-07-07 08:12:48 +0100
committergingerBill <bill@gingerbill.org>2018-07-07 08:12:48 +0100
commit1e01085ef7a921f7e83d63c27d56e18716ab2e68 (patch)
treea79fc683bc52fb39bec3bcc3495f69308104df5b /src/common.cpp
parent04a1f869b588dcaa738b009cf374493e8eb4a343 (diff)
parente04ba7530d7439cb97f4f061f68d4e8149f0735e (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/common.cpp')
-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>