mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
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.
This commit is contained in:
parent
387487ffb6
commit
346b804fda
1 changed files with 2 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue