[hackers] [scc] [libc] Use __USE_MACROS in ctype.c || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 23 Feb 2017 14:55:54 +0100 (CET)

commit 688a146b5b4865b27e773f3126281ab9cf67c60f
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Feb 23 14:55:05 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
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
_AT_@ -1,3 +1,6 @@
+/* See LICENSE file for copyright and license details. */
+
+#define __USE_MACROS
 #include <ctype.h>
 
 unsigned char _ctype[255] = {
Received on Thu Feb 23 2017 - 14:55:54 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 23 2017 - 15:00:23 CET