Skip to content

Commit

Permalink
Fix building for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mkryszto authored and hamchapman committed Oct 28, 2024
1 parent 43aa55b commit 04735e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CBOR.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,6 @@ extension CBOR.Tag {
public static let selfDescribeCBOR = CBOR.Tag(rawValue: 55799)
}

#if os(Linux)
#if os(Linux) || os(Windows)
let NSEC_PER_SEC: UInt64 = 1_000_000_000
#endif

0 comments on commit 04735e8

Please sign in to comment.