Fix unused function '_hb_mapped_file_destroy' if no mmap
This commit is contained in:
parent
343e8c694b
commit
2cb075fe26
|
@ -508,6 +508,7 @@ struct hb_mapped_file_t
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if (defined(HAVE_MMAP) || defined(_WIN32) || defined(__CYGWIN__)) && !defined(HB_NO_MMAP)
|
||||||
static void
|
static void
|
||||||
_hb_mapped_file_destroy (hb_mapped_file_t *file)
|
_hb_mapped_file_destroy (hb_mapped_file_t *file)
|
||||||
{
|
{
|
||||||
|
@ -522,6 +523,7 @@ _hb_mapped_file_destroy (hb_mapped_file_t *file)
|
||||||
|
|
||||||
free (file);
|
free (file);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hb_blob_create_from_file:
|
* hb_blob_create_from_file:
|
||||||
|
|
Loading…
Reference in New Issue