diff options
| author | data-man <datamanrb@gmail.com> | 2018-12-09 05:54:36 +0500 |
|---|---|---|
| committer | data-man <datamanrb@gmail.com> | 2018-12-09 05:54:36 +0500 |
| commit | 2f1a62a03023981f14a8a3cdfbd1d5238a388cb2 (patch) | |
| tree | 557fd30658b48fa3c515a0501ac8af5bfeac92e6 | |
| parent | 24c62dbc188fe638f7640b50a3767e5c09c9f9d7 (diff) | |
| download | nimgen-2f1a62a03023981f14a8a3cdfbd1d5238a388cb2.tar.gz nimgen-2f1a62a03023981f14a8a3cdfbd1d5238a388cb2.zip | |
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 |
