From bc10382ec1b87da16943907ba2d0fbd267af07f0 Mon Sep 17 00:00:00 2001 From: Maya Rashish Date: Sat, 16 Feb 2019 12:29:12 +0200 Subject: Add NetBSD support Mostly picking the same paths as FreeBSD. We need a little special handling for crt files, as netbsd uses its own (and not GCC's) for those, with slightly different names. --- src/target.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target.cpp') 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: -- cgit v1.2.3