mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
MacOS has the same int sizes as Linux
Source: https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/64bitPorting/transition/transition.html
This commit is contained in:
parent
3664e8e4e2
commit
c6bf9c6942
@ -354,6 +354,7 @@ int get_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
|
||||
case ZigLLVM_UnknownOS:
|
||||
zig_unreachable();
|
||||
case ZigLLVM_Linux:
|
||||
case ZigLLVM_Darwin:
|
||||
switch (id) {
|
||||
case CIntTypeShort:
|
||||
case CIntTypeUShort:
|
||||
@ -387,7 +388,6 @@ int get_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
|
||||
zig_unreachable();
|
||||
}
|
||||
case ZigLLVM_CloudABI:
|
||||
case ZigLLVM_Darwin:
|
||||
case ZigLLVM_DragonFly:
|
||||
case ZigLLVM_FreeBSD:
|
||||
case ZigLLVM_IOS:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user