unistr/u*-chr: prepare for multibyte tests
[gnulib.git] / tests / unistr / test-u32-chr.c
index f23aa08..5b74baf 100644 (file)
@@ -26,6 +26,7 @@
 #include "macros.h"
 
 #define UNIT uint32_t
+#define U32_TO_U(s, n, result, length) (*(length) = (n), (s))
 #define U_CHR u32_chr
 #define U_SET u32_set
 #include "test-chr.h"