use lowercase --define switches (#17283)

This commit is contained in:
flywind 2021-03-07 19:08:41 +08:00 • committed by GitHub
commit 0e3ea16554
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 45 additions and 45 deletions

View file

@ -90,7 +90,7 @@ proc runBasicDLLTest(c, r: var TResults, cat: Category, options: string) =
testSpec c, test4
# windows looks in the dir of the exe (yay!):
when not defined(Windows):
when not defined(windows):
# posix relies on crappy LD_LIBRARY_PATH (ugh!):
const libpathenv = when defined(haiku): "LIBRARY_PATH"
else: "LD_LIBRARY_PATH"