Skip to content

Commit 04735e8

Browse files
mkrysztohamchapman
authored andcommitted
Fix building for Windows
1 parent 43aa55b commit 04735e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CBOR.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,6 @@ extension CBOR.Tag {
174174
public static let selfDescribeCBOR = CBOR.Tag(rawValue: 55799)
175175
}
176176

177-
#if os(Linux)
177+
#if os(Linux) || os(Windows)
178178
let NSEC_PER_SEC: UInt64 = 1_000_000_000
179179
#endif

0 commit comments

Comments
 (0)