From 9617720caba60ebd458fc1470f7b49ba19d32006 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Thu, 9 Jan 2020 11:22:34 -0800 Subject: [PATCH] fix styleCheck for windows --- examples/loader.nim | 2 +- libffi.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/loader.nim b/examples/loader.nim index 62040a5..537914e 100644 --- a/examples/loader.nim +++ b/examples/loader.nim @@ -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 diff --git a/libffi.nim b/libffi.nim index 22759fd..0e9b69e 100644 --- a/libffi.nim +++ b/libffi.nim @@ -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".}