mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Bug 824: Define _XOPEN_SOURCE, not __USE_XOPEN.
_XOPEN_SOURCE has been standardized in SUSv2. <features.h> of GNU libc then defines the internal __USE_XOPEN macro.
This commit is contained in:
parent
2fd3e0b3b3
commit
14d1a0f3e2
@ -4,12 +4,15 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_WCHAR_H) && defined(HAVE_WCWIDTH)
|
||||
#define _XOPEN_SOURCE 500
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(HAVE_WCHAR_H) && defined(HAVE_WCWIDTH)
|
||||
#define __USE_XOPEN
|
||||
#include <wchar.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user