fix styleCheck for windows

This commit is contained in:
Timothee Cour 2020-01-09 11:22:34 -08:00
commit 9617720cab
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 os
import dynlib import dynlib
import libffi import libffi

View file

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