Made os_osx.odin use the new-style runtime.args__ and added read_directory for macOS

This commit is contained in:
Zachary Pierson
2018-07-02 02:50:08 -05:00
parent c0ca4d4635
commit 5de3b07e2b
2 changed files with 4 additions and 3 deletions

View File

@@ -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>