scc

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>
 3
 4#undef btowc
 5
 6wint_t
 7btowc(int ch)
 8{
 9	unsigned char c = ch;
10
11	if (ch == EOF || c >= 128)
12		return WEOF;
13	return ch;
14}