commit 688a146b5b4865b27e773f3126281ab9cf67c60f
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu Feb 23 14:55:05 2017 +0100
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu Feb 23 14:55:05 2017 +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.
diff --git a/libc/src/ctype.c b/libc/src/ctype.c
index b45d51c..a4b7846 100644
--- 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] = {