diff options
author | Olivier Certner <olce.palemoon@certner.fr> | 2021-02-05 13:11:54 +0100 |
---|---|---|
committer | Olivier Certner <olce.palemoon@certner.fr> | 2021-02-05 18:22:53 +0100 |
commit | 1305a9187e7c2c045e1af80cfb103322dd3c4692 (patch) | |
tree | bfe2183817f93ed86b8d946806b12e37fc8b2346 /gfx | |
parent | 5f29c78f7c2960ccc2f4773ecba6a6ada2985638 (diff) | |
download | uxp-1305a9187e7c2c045e1af80cfb103322dd3c4692.tar.gz |
Issue #1730 - Part 2: harfbuzz: Remove some useless define causing a build error
Defining _POSIX_C_SOURCE to 199309L on FreeBSD causes compile errors, because of
an obscure interaction between system wrappers and libc++ headers. The source
doesn't seem to need it at all, which tests confirm.
I bet that this is not needed either on other modern systems (even those based
on glibc), and that the define could probably be entirely removed. Not trying
it because I can't test it myself.
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/harfbuzz/src/hb-blob.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/harfbuzz/src/hb-blob.cc b/gfx/harfbuzz/src/hb-blob.cc index fb48f03cab..6577781c19 100644 --- a/gfx/harfbuzz/src/hb-blob.cc +++ b/gfx/harfbuzz/src/hb-blob.cc @@ -24,10 +24,12 @@ * Red Hat Author(s): Behdad Esfahbod */ +#ifndef __FreeBSD__ /* http://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html */ #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 199309L #endif +#endif #include "hb-private.hh" |