build: add a comment explaining why we undef _POSIX_C_SOURCE
This commit is contained in:
parent
5311904619
commit
14647b2a38
1 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
/*
|
||||
* On NetBSD, defining standard requirements like this removes symbols
|
||||
* from the namespace; however, we need non-standard symbols for
|
||||
* endian.h.
|
||||
*/
|
||||
#if defined(__NetBSD__) && defined(_POSIX_C_SOURCE)
|
||||
#undef _POSIX_C_SOURCE
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue