1#include <stdio.h>2#include <wchar.h>34#undef btowc56wint_t7btowc(int ch)8{9 unsigned char c = ch;1011 if (ch == EOF || c >= 128)12 return WEOF;13 return ch;14}
A fork of https://git.simple-cc.org/scc/ for Qute
git clone https://git.8pit.net/scc.git
1#include <stdio.h>2#include <wchar.h>34#undef btowc56wint_t7btowc(int ch)8{9 unsigned char c = ch;1011 if (ch == EOF || c >= 128)12 return WEOF;13 return ch;14}