Skip to content

Commit

Permalink
fix: error LNK2019: unresolved external symbol _GetLogicalDrives
Browse files Browse the repository at this point in the history
resolves #33
  • Loading branch information
tekumara committed Feb 5, 2024
1 parent bde1b51 commit 6ec5abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/typos-lsp/src/windows.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#[cfg(windows)]
extern "C" {
extern "system" {
// https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getlogicaldrives
pub fn GetLogicalDrives() -> u32;
}
Expand Down

0 comments on commit 6ec5abf

Please sign in to comment.