diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-06 20:16:02 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-06 20:16:02 +0100 |
commit | 30e648064e06f32e1a49e41fa4ce470719ca5938 (patch) | |
tree | 630d2366b0383b723f5add5c8f867a97822bbb2e /adapter/protocol | |
parent | 4c81d51a304fea9d9e902ad8b5a28d1d3b9a9a03 (diff) | |
download | chawan-30e648064e06f32e1a49e41fa4ce470719ca5938.tar.gz |
about: fix compilation error on Nim 1.14
Diffstat (limited to 'adapter/protocol')
-rw-r--r-- | adapter/protocol/about.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/adapter/protocol/about.nim b/adapter/protocol/about.nim index 02aacc00..df5ae649 100644 --- a/adapter/protocol/about.nim +++ b/adapter/protocol/about.nim @@ -1,4 +1,7 @@ -import std/envvars +when NimMajor >= 2: + import std/envvars +else: + import std/os const chawan = staticRead"res/chawan.html" const license = staticRead"res/license.html" |