ospaths can always be imported; fixes #4249
This commit is contained in:
parent
d96bf94fda
commit
28940ce457
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
# Included by the ``os`` module but a module in its own right for NimScript
|
||||
# support.
|
||||
|
||||
when isMainModule:
|
||||
when not declared(os):
|
||||
{.pragma: rtl.}
|
||||
import strutils
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue