authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-05-16 20:18:38-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-05-16 20:18:38-04:00
log967bad43a053bf7d9d54dd352fcd8416c767785e
tree85980f78a0c482918c1c38d0730b74d1081294e4
parent4a3d689550286fbf7859321991c8f7b7e6d87207

OpenBSD has the same C integer sizes as Linux

Thanks Jan S <jan.schreib@gmail.com> for this information closes #1016

1 files changed, 1 insertions(+), 1 deletions(-)

src/target.cpp+1-1
......@@ -702,6 +702,7 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
702702 case OsLinux:
703703 case OsMacOSX:
704704 case OsZen:
705 case OsOpenBSD:
705706 switch (id) {
706707 case CIntTypeShort:
707708 case CIntTypeUShort:
......@@ -742,7 +743,6 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
742743 case OsKFreeBSD:
743744 case OsLv2:
744745 case OsNetBSD:
745 case OsOpenBSD:
746746 case OsSolaris:
747747 case OsHaiku:
748748 case OsMinix: