aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-05-01 17:51:57 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-05-01 17:51:57 -0500
commit370f64d4e799f5441ffc7b5cb0f3b012c09a13db (patch)
tree602956e9fe834892b4742b68557d40af0a6e89d4
parent748998b0bd921a60f1c05aae7b47eb8de51b7e3e (diff)
downloadnimterop-lzast2.tar.gz
nimterop-lzast2.zip
Fix for zliblzast2
-rw-r--r--nimterop/getters.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/getters.nim b/nimterop/getters.nim
index d94fae8..620c1ec 100644
--- a/nimterop/getters.nim
+++ b/nimterop/getters.nim
@@ -565,7 +565,7 @@ proc getPreprocessor*(gState: State, fullpath: string): string =
else:
cmd &= "-D__attribute__(x)= "
- cmd &= "-D__restrict= "
+ cmd &= "-D__restrict= -D__extension__= "
cmd &= &"{fullpath.sanitizePath}"