summary refs log tree commit diff stats
path: root/lib/pure/includes/oserr.nim
diff options
context:
space:
mode:
authorgenotrance <dev@genotrance.com>2019-05-01 01:54:02 -0500
committerAndreas Rumpf <rumpf_a@web.de>2019-05-01 08:54:02 +0200
commitc94ab46923852d2eb96eab5e518d392b0d705fce (patch)
tree974ef70eaee9060e6d80ab4844dcbcb6d5e77fd2 /lib/pure/includes/oserr.nim
parent60e3d7930d9d4e39d8233bac282b2219f69483c2 (diff)
downloadNim-c94ab46923852d2eb96eab5e518d392b0d705fce.tar.gz
Fix ospaths import error (#11150)
Diffstat (limited to 'lib/pure/includes/oserr.nim')
-rw-r--r--lib/pure/includes/oserr.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/includes/oserr.nim b/lib/pure/includes/oserr.nim
index 947bdd9a9..68ce5d95f 100644
--- a/lib/pure/includes/oserr.nim
+++ b/lib/pure/includes/oserr.nim
@@ -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):