From 49a5f0809b0d6a1a2773f724258da817e81f3f2e Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Tue, 16 Jan 2001 14:51:03 +0000 Subject: * include/locale.h: Apply Danny Smith patch 101834 2000-11-23 Danny Smith (LC_MIN) Add definition. (LC_MAX) ditto. (_wsetlocale) Add prototype. --- winsup/mingw/include/locale.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'winsup/mingw/include') diff --git a/winsup/mingw/include/locale.h b/winsup/mingw/include/locale.h index 4f751246c..3527bfb77 100644 --- a/winsup/mingw/include/locale.h +++ b/winsup/mingw/include/locale.h @@ -46,6 +46,8 @@ #define LC_MONETARY 3 #define LC_NUMERIC 4 #define LC_TIME 5 +#define LC_MIN LC_ALL +#define LC_MAX LC_TIME #ifndef RC_INVOKED @@ -81,6 +83,13 @@ extern "C" { char* setlocale (int, const char*); struct lconv* localeconv (void); +#ifndef _WLOCALE_DEFINED /* also declared in wchar.h */ +# define __need_wchar_t +# include + wchar_t* _wsetlocale(int, const wchar_t*); +# define _WLOCALE_DEFINED +#endif /* ndef _WLOCALE_DEFINED */ + #ifdef __cplusplus } #endif -- cgit v1.2.3