[test] Fix test-subset on old distros (#758)

https://developer.gnome.org/glib/stable/glib-Testing.html#g-assert-cmpmem
This commit is contained in:
Ebrahim Byagowi authored and GitHub committed 2018-02-06 20:40:42 +03:30
1 parent 2971e9da49
commit 8cb8bfd5b5
1 file changed
+4
+4
View File
@@ -26,6 +26,10 @@
#include "hb-test.h"
#ifndef g_assert_cmpmem
#define g_assert_cmpmem(m1, l1, m2, l2) g_assert_true (l1 == l2 && memcmp (m1, m2, l1) == 0)
#endif
/* Unit tests for hb-subset.h */
static const char test_data[] = { 0, 0, 1, 0 };