Preprocessor mode fixes (#176)
This commit is contained in:
parent
058261c203
commit
f5dd89904d
5 changed files with 35 additions and 33 deletions
|
|
@ -31,8 +31,7 @@ cPlugin:
|
|||
sym.name = sym.name.replace("pcre_", "")
|
||||
|
||||
const FLAGS {.strdefine.} = ""
|
||||
cImport(pcreH, dynlib="dynpcre", flags = FLAGS)
|
||||
|
||||
cImport(pcreH, dynlib="dynpcre", flags="--mode=c " & FLAGS)
|
||||
echo version()
|
||||
|
||||
when FLAGS.len != 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue