The current code simply has a note at the top of the win module of **Note:** This module will only work on Windows. This patch checks the OS and uses the {.error.} pragma if the OS doesn't match.
It also changes some uses of var to let where it makes sense to do so.
The removal of the extra whitespace was done by my editor and can largely be ignored.
The current code simply has a note at the top of the
win
module of**Note:** This module will only work on Windows
. This patch checks the OS and uses the{.error.}
pragma if the OS doesn't match.It also changes some uses of
var
tolet
where it makes sense to do so.The removal of the extra whitespace was done by my editor and can largely be ignored.