aboutsummaryrefslogtreecommitdiff
path: root/src/os.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2018-11-27 21:06:35 -0500
committerAndrew Kelley <andrew@ziglang.org>2018-11-27 21:06:35 -0500
commit57f44eb2bd17fc0c4e9d09b8c8621867f784d2f0 (patch)
tree51f46cdc8f8ea0f4e642d62b3bf8fce58034362e /src/os.hpp
parent1fb15be05f1037aad53d2db32d13123363365d10 (diff)
parentdd2450b1b21809c3fe62920498c318fbe519f579 (diff)
downloadzig-57f44eb2bd17fc0c4e9d09b8c8621867f784d2f0.tar.gz
zig-57f44eb2bd17fc0c4e9d09b8c8621867f784d2f0.zip
Merge branch 'freebsd2'
Tier 2 support for FreeBSD
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