mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-12-03 02:58:27 +00:00
Add #else to enable compile in non-Apple platforms
This commit is contained in:
@@ -24,6 +24,8 @@ import AppKit
|
||||
return checker.completions(forPartialWordRange: range, in: string, language: language)
|
||||
#elseif os(macOS)
|
||||
return checker.completions(forPartialWordRange: range, in: string, language: language, inSpellDocumentWithTag: 0)
|
||||
#else
|
||||
return nil
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user