deprecated ospaths (#9665)

This commit is contained in:
Andreas Rumpf 2018-11-09 16:36:49 +01:00 • committed by GitHub
commit 8d850f7a69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 838 additions and 811 deletions

View file

@ -1,7 +1,7 @@
## Include file that implements 'getEnv' and friends. Do not import it!
when not declared(ospaths):
{.error: "This is an include file for ospaths.nim!".}
when not declared(os):
{.error: "This is an include file for os.nim!".}
proc c_getenv(env: cstring): cstring {.
importc: "getenv", header: "<stdlib.h>".}

View file

@ -1,7 +1,7 @@
## Include file that implements 'osErrorMsg' and friends. Do not import it!
when not declared(ospaths):
{.error: "This is an include file for ospaths.nim!".}
when not declared(os):
{.error: "This is an include file for os.nim!".}
when not defined(nimscript):
var errno {.importc, header: "<errno.h>".}: cint