diff --git a/doc/intern.md b/doc/intern.md index ebdbca52da..e1861ea7d0 100644 --- a/doc/intern.md +++ b/doc/intern.md @@ -364,7 +364,7 @@ Files that may need changed for your platform include: Add os/cpu to `Project.Platforms` field. * `lib/system/platforms.nim` Add os/cpu. -* `lib/pure/include/osseps.nim` +* `std/private/osseps.nim` Add os specializations. * `lib/pure/distros.nim` Add os, package handler. diff --git a/lib/pure/os.nim b/lib/pure/os.nim index a635c62ef6..3e7c7cfc9c 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -95,7 +95,8 @@ type OSErrorCode* = distinct int32 ## Specifies an OS Error Code. -include "includes/osseps" +import std/private/osseps +export osseps proc absolutePathInternal(path: string): string {.gcsafe.} diff --git a/lib/pure/pathnorm.nim b/lib/pure/pathnorm.nim index a71ae0762e..4cdc023037 100644 --- a/lib/pure/pathnorm.nim +++ b/lib/pure/pathnorm.nim @@ -14,7 +14,7 @@ # Yes, this uses import here, not include so that # we don't end up exporting these symbols from pathnorm and os: -import includes/osseps +import std/private/osseps type PathIter* = object diff --git a/lib/pure/includes/osseps.nim b/lib/std/private/osseps.nim similarity index 100% rename from lib/pure/includes/osseps.nim rename to lib/std/private/osseps.nim