mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 19:10:36 +08:00
* include/locale.h: Apply Danny Smith patch 101834
2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz> (LC_MIN) Add definition. (LC_MAX) ditto. (_wsetlocale) Add prototype.
This commit is contained in:
parent
da2515fc49
commit
49a5f0809b
@ -1,3 +1,12 @@
|
|||||||
|
|
||||||
|
Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/locale.h: Apply Danny Smith patch 101834
|
||||||
|
2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
|
||||||
|
(LC_MIN) Add definition.
|
||||||
|
(LC_MAX) ditto.
|
||||||
|
(_wsetlocale) Add prototype.
|
||||||
|
|
||||||
2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
|
2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
|
||||||
|
|
||||||
* Makefile.in: eliminate the need for RUNTIME and CRT_ID.
|
* Makefile.in: eliminate the need for RUNTIME and CRT_ID.
|
||||||
|
@ -46,6 +46,8 @@
|
|||||||
#define LC_MONETARY 3
|
#define LC_MONETARY 3
|
||||||
#define LC_NUMERIC 4
|
#define LC_NUMERIC 4
|
||||||
#define LC_TIME 5
|
#define LC_TIME 5
|
||||||
|
#define LC_MIN LC_ALL
|
||||||
|
#define LC_MAX LC_TIME
|
||||||
|
|
||||||
#ifndef RC_INVOKED
|
#ifndef RC_INVOKED
|
||||||
|
|
||||||
@ -81,6 +83,13 @@ extern "C" {
|
|||||||
char* setlocale (int, const char*);
|
char* setlocale (int, const char*);
|
||||||
struct lconv* localeconv (void);
|
struct lconv* localeconv (void);
|
||||||
|
|
||||||
|
#ifndef _WLOCALE_DEFINED /* also declared in wchar.h */
|
||||||
|
# define __need_wchar_t
|
||||||
|
# include <stddef.h>
|
||||||
|
wchar_t* _wsetlocale(int, const wchar_t*);
|
||||||
|
# define _WLOCALE_DEFINED
|
||||||
|
#endif /* ndef _WLOCALE_DEFINED */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user