aboutsummaryrefslogtreecommitdiff
path: root/src/target.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-02-18 00:10:31 -0500
committerGitHub <noreply@github.com>2019-02-18 00:10:31 -0500
commit3e586264e5295be87f13c34904ff9b61a95ded16 (patch)
tree4f20f7fab5d7a4f754c65c6034240a5396b98a24 /src/target.cpp
parent39207fa1d46ccaf55de80e1afd89fbccca6a73e7 (diff)
parentb93405c24bd3c58f68a272f32fe764a994e7aae6 (diff)
downloadzig-3e586264e5295be87f13c34904ff9b61a95ded16.tar.gz
zig-3e586264e5295be87f13c34904ff9b61a95ded16.zip
Merge pull request #1972 from coypoop/netbsd
Add NetBSD support
Diffstat (limited to 'src/target.cpp')
-rw-r--r--src/target.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target.cpp b/src/target.cpp
index b1434c6871..cea7826313 100644
--- a/src/target.cpp
+++ b/src/target.cpp
@@ -743,6 +743,7 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
case OsMacOSX:
case OsZen:
case OsFreeBSD:
+ case OsNetBSD:
case OsOpenBSD:
switch (id) {
case CIntTypeShort:
@@ -783,7 +784,6 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
case OsIOS:
case OsKFreeBSD:
case OsLv2:
- case OsNetBSD:
case OsSolaris:
case OsHaiku:
case OsMinix: