Imported Upstream version 0.9.35
[platform/upstream/harfbuzz.git] / src / test-would-substitute.cc
index 4731e26..8ea87cd 100644 (file)
 #include "hb-ot.h"
 
 #ifdef HAVE_GLIB
-#include <glib.h>
+# include <glib.h>
+# if !GLIB_CHECK_VERSION (2, 22, 0)
+#  define g_mapped_file_unref g_mapped_file_free
+# endif
 #endif
 #include <stdlib.h>
 #include <stdio.h>