Don't set _POSIX_C_SOURCE in NetBSD
According to a harfbuzz package patch on NetBSD project https://github.com/NetBSD/pkgsrc/blob/trunk/fonts/harfbuzz/patches/patch-src_hb-blob.cc
This commit is contained in:
parent
08c3648c6e
commit
e66eb21a46
|
@ -30,7 +30,7 @@
|
||||||
* http://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
|
* http://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
|
||||||
* https://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html
|
* https://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html
|
||||||
*/
|
*/
|
||||||
#if !defined(_POSIX_C_SOURCE) && !defined(_MSC_VER)
|
#if !defined(_POSIX_C_SOURCE) && !defined(_MSC_VER) && !defined(__NetBSD__)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-macros"
|
#pragma GCC diagnostic ignored "-Wunused-macros"
|
||||||
#define _POSIX_C_SOURCE 200809L
|
#define _POSIX_C_SOURCE 200809L
|
||||||
|
|
Loading…
Reference in New Issue