scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 688a146b5b4865b27e773f3126281ab9cf67c60f
parent 83fbb691a82eba4954e59e7044cb43f8e9a3a565
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 23 Feb 2017 14:55:05 +0100

[libc] Use __USE_MACROS in ctype.c

Without this define ctype.h will not expose the definitions
needed for a correct definition of the table.

Diffstat:
Mlibc/src/ctype.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/libc/src/ctype.c b/libc/src/ctype.c @@ -1,3 +1,6 @@ +/* See LICENSE file for copyright and license details. */ + +#define __USE_MACROS #include <ctype.h> unsigned char _ctype[255] = {