diff options
| author | genotrance <dev@genotrance.com> | 2018-12-10 09:49:25 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-10 09:49:25 -0600 |
| commit | 5199b86b748cb538816390fc925e6019e0115502 (patch) | |
| tree | f59affb7dc0c89b9e772b8e68e74494e5b256509 | |
| parent | 46cce39e64a9056d2d6d494047be7dbb31c204f0 (diff) | |
| parent | 2f1a62a03023981f14a8a3cdfbd1d5238a388cb2 (diff) | |
| download | nimgen-5199b86b748cb538816390fc925e6019e0115502.tar.gz nimgen-5199b86b748cb538816390fc925e6019e0115502.zip | |
Merge pull request #39 from data-man/ospaths
Don't use ospaths on Nim-devel
| -rw-r--r-- | src/nimgen/c2nim.nim | 5 | ||||
| -rw-r--r-- | src/nimgen/file.nim | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/nimgen/c2nim.nim b/src/nimgen/c2nim.nim index 0464c6a..f3b5c33 100644 --- a/src/nimgen/c2nim.nim +++ b/src/nimgen/c2nim.nim @@ -1,4 +1,7 @@ -import os, ospaths, regex, strutils +import os, regex, strutils + +when (NimMajor, NimMinor, NimPatch) < (0, 19, 9): + import ospaths import external, file, fileops, gencore, globals diff --git a/src/nimgen/file.nim b/src/nimgen/file.nim index 769c914..81e1d86 100644 --- a/src/nimgen/file.nim +++ b/src/nimgen/file.nim @@ -1,4 +1,7 @@ -import os, ospaths, pegs, regex, strutils, tables +import os, pegs, regex, strutils, tables + +when (NimMajor, NimMinor, NimPatch) < (0, 19, 9): + import ospaths import globals, external |
