Merge pull request #4 from timotheecour/pr_fix_styleCheck_windows

fix styleCheck for windows
This commit is contained in:
Andreas Rumpf 2020-01-09 23:30:07 +01:00 • committed by GitHub
commit 576a801366
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# Compile with: nim c --passL:-rdynamic -r loader.nim
# Compile with: nim c --passl:-rdynamic -r loader.nim
import os
import dynlib
import libffi

View file

@ -15,7 +15,7 @@ when defined(windows):
const thisPath = currentSourcePath.parentDir
const flag = "-I" & (thisPath / "common") & " -I" & thisPath
{.passC: flag.}
{.passc: flag.}
{.pragma: mylib, header: r"common/ffi.h".}