build: do not define _POSIX_C_SOURCE on NetBSD#4181
build: do not define _POSIX_C_SOURCE on NetBSD#4181amaanq merged 4 commits intotree-sitter:masterfrom
Conversation
It leads to missing symbols, see tree-sitter#4180.
|
Unfortunately, this is not the only build system in this repo... (far from it). So modifying |
This reverts commit 5492145.
|
Can we move both defines to |
I'd really appreciate that since when I just add the define in |
|
Probably because by default, the Makefile compiles each C file individually, so you'd have to define this in every source file that needs it. Would adding |
|
I pushed a different version that I think follows your suggestions. I think it's ugly, but it works. |
|
Yeah, that's a little ugly but I guess it's fine. I'm a little confused though, because |
|
I've added a comment about the |
|
Might have wanted to squash that... |
|
Successfully created backport PR for |
It leads to missing symbols, see #4180.