aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorawr1 <41453959+awr1@users.noreply.github.com>2020-04-09 23:00:56 -0500
committerGitHub <noreply@github.com>2020-04-09 23:00:56 -0500
commitf5dd89904d8866456c62f4bf6b57b6c264d6dea2 (patch)
tree7eaddf43ef4d6599f50f98dc867954ece473037b /tests
parent058261c2037d277436d1dc64b53e669f90f0db0e (diff)
downloadnimterop-f5dd89904d8866456c62f4bf6b57b6c264d6dea2.tar.gz
nimterop-f5dd89904d8866456c62f4bf6b57b6c264d6dea2.zip
Preprocessor mode fixes (#176)
Diffstat (limited to 'tests')
-rw-r--r--tests/tpcre.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tpcre.nim b/tests/tpcre.nim
index f896e9c..c8e8059 100644
--- a/tests/tpcre.nim
+++ b/tests/tpcre.nim
@@ -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: