mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Fix compilation against old versions of fontconfig
This commit is contained in:
parent
7a0b649cbd
commit
ec58777d01
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@
|
|||
|
||||
#include "data-types.h"
|
||||
#include <fontconfig/fontconfig.h>
|
||||
#ifndef FC_COLOR
|
||||
#define FC_COLOR "color"
|
||||
#endif
|
||||
|
||||
static inline PyObject*
|
||||
pybool(FcBool x) { PyObject *ans = x ? Py_True: Py_False; Py_INCREF(ans); return ans; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue