mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
90e35b1eb3
The locale_t type is provided by <xlocale.h> on Linux, FreeBSD, and Darwin. While, like on some of those systems, it is automatically included by <locale.h> with the proper feature test macros, its presence under this particular name is still presumed in real-world software. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
13 lines
235 B
C
13 lines
235 B
C
/* Definition of opaque POSIX-1.2008 type locale_t for userspace. */
|
|
|
|
#ifndef _XLOCALE_H
|
|
#define _XLOCALE_H
|
|
|
|
#include <newlib.h>
|
|
#include <sys/config.h>
|
|
|
|
struct __locale_t;
|
|
typedef struct __locale_t *locale_t;
|
|
|
|
#endif /* _XLOCALE_H */
|