mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 23:33:28 +00:00
Fix ospaths import error (#11150)
This commit is contained in:
committed by
Andreas Rumpf
parent
60e3d7930d
commit
c94ab46923
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user