Fix ospaths import error (#11150)
This commit is contained in:
parent
60e3d7930d
commit
c94ab46923
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Include file that implements 'getEnv' and friends. Do not import it!
|
||||
|
||||
when not declared(os):
|
||||
when not declared(os) and not declared(ospaths):
|
||||
{.error: "This is an include file for os.nim!".}
|
||||
|
||||
from parseutils import skipIgnoreCase
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Include file that implements 'osErrorMsg' and friends. Do not import it!
|
||||
|
||||
when not declared(os):
|
||||
when not declared(os) and not declared(ospaths):
|
||||
{.error: "This is an include file for os.nim!".}
|
||||
|
||||
when not defined(nimscript):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue