From: Ebrahim Byagowi Date: Sat, 18 May 2019 14:44:48 +0000 (-0700) Subject: Don't set _POSIX_C_SOURCE in NetBSD X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e66eb21a46b2374bfb51f86ed9f5eec35ba87a61;p=platform%2Fupstream%2FlibHarfBuzzSharp.git 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 --- diff --git a/src/hb-blob.cc b/src/hb-blob.cc index 699f66b..5783fb2 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc @@ -30,7 +30,7 @@ * 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 */ -#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 ignored "-Wunused-macros" #define _POSIX_C_SOURCE 200809L