From 8ed27757b197670ee9f91cfb27ec50bcd3045a2f Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Mon, 6 Jan 2020 19:01:13 +0330 Subject: [PATCH] Remove _POSIX_C_SOURCE definition from the project Added fpr suncc support but apparently is causing more issues even on suncc so let's see if we can go without it. Fixes #2084 --- src/hb-blob.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/hb-blob.cc b/src/hb-blob.cc index 2e72683c8..7eeb067aa 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc @@ -25,18 +25,6 @@ * Red Hat Author(s): Behdad Esfahbod */ - -/* https://github.com/harfbuzz/harfbuzz/issues/1308 - * 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) && !defined(__NetBSD__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wunused-macros" -#define _POSIX_C_SOURCE 200809L -#pragma GCC diagnostic pop -#endif - #include "hb.hh" #include "hb-blob.hh"