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

@ -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"