Preprocessor mode fixes (#176)

This commit is contained in:
awr1 2020-04-09 23:00:56 -05:00 • committed by GitHub
commit f5dd89904d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 35 additions and 33 deletions

View file

@ -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: