Skip to content

Commit 483c4fa

Browse files
committed
Reduce diff
1 parent ea2fdd6 commit 483c4fa

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Sources/System/Internals/CInterop.swift

+8-8
Original file line numberDiff line numberDiff line change
@@ -38,33 +38,33 @@ public enum CInterop {
3838
/// The C `char` type
3939
public typealias Char = CChar
4040

41-
#if os(Windows)
41+
#if os(Windows)
4242
/// The platform's preferred character type. On Unix, this is an 8-bit C
4343
/// `char` (which may be signed or unsigned, depending on platform). On
4444
/// Windows, this is `UInt16` (a "wide" character).
4545
public typealias PlatformChar = UInt16
46-
#else
46+
#else
4747
/// The platform's preferred character type. On Unix, this is an 8-bit C
4848
/// `char` (which may be signed or unsigned, depending on platform). On
4949
/// Windows, this is `UInt16` (a "wide" character).
5050
public typealias PlatformChar = CInterop.Char
51-
#endif
51+
#endif
5252

53-
#if os(Windows)
53+
#if os(Windows)
5454
/// The platform's preferred Unicode encoding. On Unix this is UTF-8 and on
5555
/// Windows it is UTF-16. Native strings may contain invalid Unicode,
5656
/// which will be handled by either error-correction or failing, depending
5757
/// on API.
5858
public typealias PlatformUnicodeEncoding = UTF16
59-
#else
59+
#else
6060
/// The platform's preferred Unicode encoding. On Unix this is UTF-8 and on
6161
/// Windows it is UTF-16. Native strings may contain invalid Unicode,
6262
/// which will be handled by either error-correction or failing, depending
6363
/// on API.
6464
public typealias PlatformUnicodeEncoding = UTF8
65-
#endif
65+
#endif
6666

67-
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
67+
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
6868
/// The C `stat` type.
6969
public typealias Stat = stat
7070

@@ -100,5 +100,5 @@ public enum CInterop {
100100

101101
/// The C `UInt32` type.
102102
public typealias FileFlags = UInt32
103-
#endif
103+
#endif
104104
}

0 commit comments

Comments
 (0)