add include dir

This commit is contained in:
Jacek Sieka 2020-02-17 17:16:01 +01:00
parent f812c52054
commit 04f5d5c96a
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
1 changed files with 4 additions and 0 deletions

View File

@ -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.}