Fix build with MinGW tooling. (#514)

Courtesy of @Eli-Zaretskii, these fixes should unblock people from
building tree-sitter with MinGW.

I don't think this is an unreasonable maintenance burden, especially
given the Emacs project's interest in using tree-sitter, but
@maxbrunsfeld gets the final call.
This commit is contained in:
Patrick Thomson 2020-01-06 12:21:40 -05:00 committed by Max Brunsfeld
parent 9a73277389
commit 39bfcdf595
4 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ fi
${CC} \
-c \
-O3 \
-std=c99 \
-std=gnu99 \
$CFLAGS \
-I lib/src \
-I lib/include \