aboutsummaryrefslogtreecommitdiff
path: root/src/os.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/os.hpp')
-rw-r--r--src/os.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os.hpp b/src/os.hpp
index c3e77b8a1a..d81a2362a5 100644
--- a/src/os.hpp
+++ b/src/os.hpp
@@ -23,6 +23,8 @@
#define ZIG_OS_WINDOWS
#elif defined(__linux__)
#define ZIG_OS_LINUX
+#elif defined(__FreeBSD__)
+#define ZIG_OS_FREEBSD
#else
#define ZIG_OS_UNKNOWN
#endif