aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorChristian Seibold <krixano@localhost.local>2020-09-14 11:28:41 -0500
committerChristian Seibold <krixano@localhost.local>2020-09-14 11:28:41 -0500
commitac126a8cd744472bede1d5f4f7d1d3b7444a65d2 (patch)
tree29a24583eb125ba6b6e74f4eafd982aa1be66dc9 /src/common.cpp
parentb8bebf451183b563274592234f38619b2dd9456b (diff)
Add FreeBSD targets, get gb.h working with FreeBSD, fix odin_root_directory function for FreeBSD and a few other operating systems not yet added
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 3b726dacd..8d2802b1f 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -954,7 +954,7 @@ ReadDirectoryError read_directory(String path, Array<FileInfo> *fi) {
return ReadDirectory_None;
}
-#elif defined(GB_SYSTEM_LINUX) || defined(GB_SYSTEM_OSX)
+#elif defined(GB_SYSTEM_LINUX) || defined(GB_SYSTEM_OSX) || defined(GB_SYSTEM_FREEBSD)
#include <dirent.h>