mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 00:59:16 +01:00
Fix unused function '_hb_mapped_file_destroy' if no mmap
This commit is contained in:
1 parent
343e8c694b
commit
2cb075fe26
1 file changed
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user