Fix ospaths import error (#11150)

This commit is contained in:
genotrance
2019-05-01 01:54:02 -05:00
committed by Andreas Rumpf
parent 60e3d7930d
commit c94ab46923
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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):