bamonroe / tree-sitter-rnoweb

Grammar for rnoweb
1 stars 2 forks source link

Does not compile on Windows with MSVC due to unistd.h #1

Closed jgulotta closed 2 years ago

jgulotta commented 2 years ago

I have tree-sitter set to install everything and I am currently using the MSVC toolchain. This is the only grammar that fails for me with this error:

fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

I glanced through scanner.c for why it needs unistd.h but I didn't notice anything that should require this header - maybe stdint.h would be its replacement if it can't be removed?

bamonroe commented 2 years ago

Sorry for the delay, I'll take a look at this over the weekend.

bamonroe commented 2 years ago

Looks like it was totally unnecessary.

jgulotta commented 2 years ago

Confirmed it compiles and installs for me now, thanks!

bamonroe commented 2 years ago

No problem, please let me know if you find anything weird