提交 2cb075fe 编写于 作者: B Behdad Esfahbod

Fix unused function '_hb_mapped_file_destroy' if no mmap

上级 343e8c69
......@@ -508,6 +508,7 @@ struct hb_mapped_file_t
#endif
};
#if (defined(HAVE_MMAP) || defined(_WIN32) || defined(__CYGWIN__)) && !defined(HB_NO_MMAP)
static void
_hb_mapped_file_destroy (hb_mapped_file_t *file)
{
......@@ -522,6 +523,7 @@ _hb_mapped_file_destroy (hb_mapped_file_t *file)
free (file);
}
#endif
/**
* hb_blob_create_from_file:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册