mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
[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:
1 parent
2971e9da49
commit
8cb8bfd5b5
1 file changed
+4
@@ -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 };
|
||||
|
||||
Reference in new issue
Block a user