summary refs log tree commit diff stats
path: root/tests/niminaction/Chapter8
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 /tests/niminaction/Chapter8
parentb8c04bdb929f72ed8214122b255e88db9e713774 (diff)
downloadNim-0e3ea1655441036aa13d95ca1c47d9d27e0dff62.tar.gz
use lowercase --define switches (#17283)
Diffstat (limited to 'tests/niminaction/Chapter8')
-rw-r--r--tests/niminaction/Chapter8/sdl/sdl.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/niminaction/Chapter8/sdl/sdl.nim b/tests/niminaction/Chapter8/sdl/sdl.nim
index 7ba154cae..212f7b022 100644
--- a/tests/niminaction/Chapter8/sdl/sdl.nim
+++ b/tests/niminaction/Chapter8/sdl/sdl.nim
@@ -1,8 +1,8 @@
-when defined(Windows):
+when defined(windows):
   const libName* = "SDL2.dll"
-elif defined(Linux) or defined(freebsd) or defined(netbsd):
+elif defined(linux) or defined(freebsd) or defined(netbsd):
   const libName* = "libSDL2.so"
-elif defined(MacOsX):
+elif defined(macosx):
   const libName* = "libSDL2.dylib"
 elif defined(openbsd):
   const libName* = "libSDL2.so.0.6"