Skip to content

Commit 197b3c9

Browse files
committed
0: Disable Int/bool aliases for Island Darwin ios/osx (as we have them Island now)
1 parent 7d43b9f commit 197b3c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Source/Aliases.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
public typealias Int = Int64
55
public typealias UInt = UInt64
66
#elseif ISLAND
7+
#if !macos && !iOS
78
#if CPU64
89
public typealias Int = Int64
910
public typealias UInt = UInt64
@@ -14,6 +15,7 @@
1415
#hint Unexpected bitness
1516
public typealias Int = Int64
1617
public typealias UInt = UInt64
18+
#endif
1719
#endif
1820
#elseif COCOA
1921
public typealias Int = NSInteger
@@ -25,8 +27,9 @@ public typealias UInt8 = Byte
2527
public typealias IntMax = Int64
2628
public typealias UIntMax = UInt64
2729

30+
#if ISLAND && !macos && !iOS
2831
public typealias Bool = Boolean
29-
32+
#endif
3033
public typealias UnicodeScalar = UTF32Char
3134
public typealias UTF16Char = Char // UInt16
3235
public typealias UTF32Char = UInt32

0 commit comments

Comments
 (0)