#include <wchar.h> #define CHAR_T wchar_t #define W(o) L##o #define OPEN_MEMSTREAM open_wmemstream #include "tst-memstream2.c"