Add _POSIX_PRIORITY_SCHEDULING to fonts.c for Haiku
h/t Luc
This commit is contained in:
parent
ab8b36d820
commit
323ba42f9d
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
(See COPYING.txt)
|
||||
|
||||
Last modified: June 21, 2023
|
||||
Last modified: June 29, 2023
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -78,6 +78,7 @@ extern char *strcasestr(const char *haystack, const char *needle);
|
|||
#ifdef __HAIKU__
|
||||
#include <FindDirectory.h>
|
||||
#include <fs_info.h>
|
||||
#define _POSIX_PRIORITY_SCHEDULING
|
||||
#endif
|
||||
|
||||
/* system fonts that cause TTF_OpenFont to crash */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue