1#include <stdio.h>2#include <wchar.h>34#undef wctob56int7wctob(wint_t wc)8{9 unsigned long w = wc;1011 if (wc == WEOF || w > 128)12 return EOF;13 return wc;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 wctob56int7wctob(wint_t wc)8{9 unsigned long w = wc;1011 if (wc == WEOF || w > 128)12 return EOF;13 return wc;14}