From e2ac9ec118d231eb2b5a7b631d118450212cbe2c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 9 Feb 2017 09:18:41 +0530 Subject: [PATCH] Fix building on OS X --- kitty/data-types.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/data-types.c b/kitty/data-types.c index 56b49b6da..cf36f728e 100644 --- a/kitty/data-types.c +++ b/kitty/data-types.c @@ -40,7 +40,9 @@ static PyMethodDef module_methods[] = { {"read_bytes_dump", (PyCFunction)read_bytes_dump, METH_VARARGS, ""}, {"wcwidth", (PyCFunction)wcwidth_wrap, METH_O, ""}, {"change_wcwidth", (PyCFunction)change_wcwidth_wrap, METH_O, ""}, +#ifndef __APPLE__ {"get_fontconfig_font", (PyCFunction)get_fontconfig_font, METH_VARARGS, ""}, +#endif GLFW_FUNC_WRAPPERS {NULL, NULL, 0, NULL} /* Sentinel */ };