1 #include "mb_wc_common.h"
6 #define WIN32_LEAN_AND_MEAN
9 /* Return just the first byte after translating to multibyte. */
10 int wctob (wint_t wc )
15 if (!WideCharToMultiByte (get_codepage(),
16 0 /* Is this correct flag? */,
17 &w, 1, &c, 1, NULL, &invalid_char)