Skip to content

Commit

Permalink
Fix non-mac build (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
koliyo authored Oct 3, 2023
1 parent 864949a commit b6e5b48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/LanguageClient/RestartingServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ import Foundation
import OSLog
#endif

#if !(os(macOS) || os(iOS) || os(tvOS))
/* nanoseconds per second */
let NSEC_PER_SEC: UInt64 = 1000000000
#endif

import Semaphore
import LanguageServerProtocol

Expand Down

0 comments on commit b6e5b48

Please sign in to comment.