diff --git a/sqlite3_abi.nim b/sqlite3_abi.nim index 54e22bc..eb40d7e 100644 --- a/sqlite3_abi.nim +++ b/sqlite3_abi.nim @@ -4,4 +4,8 @@ import sqlite3_gen export sqlite3_gen +# Needed on windows +from os import splitPath +{.passC:"-I" & currentSourcePath().splitPath.head .} + proc sqlite3_bind_blob*(pstmt: ptr sqlite3_stmt, param: cint, value: pointer, n: cint, dispose: proc (v: pointer) {.cdecl.}): cint {.importc, header: "sqlite3.h", cdecl.}