Skip to content

Commit

Permalink
OpenBSD has the same C integer sizes as Linux
Browse files Browse the repository at this point in the history
Thanks Jan S <jan.schreib@gmail.com> for this information

closes #1016
  • Loading branch information
andrewrk committed May 17, 2018
1 parent 4a3d689 commit 967bad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target.cpp
Expand Up @@ -702,6 +702,7 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
case OsLinux:
case OsMacOSX:
case OsZen:
case OsOpenBSD:
switch (id) {
case CIntTypeShort:
case CIntTypeUShort:
Expand Down Expand Up @@ -742,7 +743,6 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
case OsKFreeBSD:
case OsLv2:
case OsNetBSD:
case OsOpenBSD:
case OsSolaris:
case OsHaiku:
case OsMinix:
Expand Down

0 comments on commit 967bad4

Please sign in to comment.