diff options
author | flywind <xzsflywind@gmail.com> | 2021-03-07 19:08:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-07 12:08:41 +0100 |
commit | 0e3ea1655441036aa13d95ca1c47d9d27e0dff62 (patch) | |
tree | fd565b78e6da93d5965ce9ed89276e5843a70607 /lib/wrappers | |
parent | b8c04bdb929f72ed8214122b255e88db9e713774 (diff) | |
download | Nim-0e3ea1655441036aa13d95ca1c47d9d27e0dff62.tar.gz |
use lowercase --define switches (#17283)
Diffstat (limited to 'lib/wrappers')
-rw-r--r-- | lib/wrappers/mysql.nim | 4 | ||||
-rw-r--r-- | lib/wrappers/openssl.nim | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/wrappers/mysql.nim b/lib/wrappers/mysql.nim index 209f63c21..2fefe4a8b 100644 --- a/lib/wrappers/mysql.nim +++ b/lib/wrappers/mysql.nim @@ -11,14 +11,14 @@ when defined(nimHasStyleChecks): {.push styleChecks: off.} -when defined(Unix): +when defined(unix): when defined(macosx): const lib = "(libmysqlclient|libmariadbclient)(|.20|.19|.18|.17|.16|.15).dylib" else: const lib = "(libmysqlclient|libmariadbclient).so(|.20|.19|.18|.17|.16|.15)" -when defined(Windows): +when defined(windows): const lib = "(libmysql.dll|libmariadb.dll)" type diff --git a/lib/wrappers/openssl.nim b/lib/wrappers/openssl.nim index 3c9c92b0d..313ce7d19 100644 --- a/lib/wrappers/openssl.nim +++ b/lib/wrappers/openssl.nim @@ -25,7 +25,7 @@ when defined(nimHasStyleChecks): {.push styleChecks: off.} -const useWinVersion = defined(Windows) or defined(nimdoc) +const useWinVersion = defined(windows) or defined(nimdoc) # To force openSSL version use -d:sslVersion=1.0.0 # See: #10281, #10230 |