summary refs log tree commit diff stats
path: root/testament/categories.nim
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-03-07 19:08:41 +0800
committerGitHub <noreply@github.com>2021-03-07 12:08:41 +0100
commit0e3ea1655441036aa13d95ca1c47d9d27e0dff62 (patch)
treefd565b78e6da93d5965ce9ed89276e5843a70607 /testament/categories.nim
parentb8c04bdb929f72ed8214122b255e88db9e713774 (diff)
downloadNim-0e3ea1655441036aa13d95ca1c47d9d27e0dff62.tar.gz
use lowercase --define switches (#17283)
Diffstat (limited to 'testament/categories.nim')
-rw-r--r--testament/categories.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/testament/categories.nim b/testament/categories.nim
index 96449a023..3a34c51d4 100644
--- a/testament/categories.nim
+++ b/testament/categories.nim
@@ -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"