mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Compensate for glibc not defining wcwidth() when _XOPEN_SOURCE is not set
This commit is contained in:
parent
647db326fb
commit
71eebf1cc7
@ -1,5 +1,12 @@
|
||||
/* Charsets convertor */
|
||||
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE /* wcwidth() */
|
||||
#endif
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE /* strcasecmp() */
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user