Import a part of mingw-w64's "ctype.h" into our "ctype.h"

This way we can already remove one modification I did to the original mingw-w64 CRT initialization code

Thanks to Timo for the hint

svn path=/trunk/; revision=40007
This commit is contained in:
Colin Finck 2009-03-14 01:13:03 +00:00
parent 8d291610ee
commit 67d3295fc6
2 changed files with 14 additions and 2 deletions

View file

@ -48,6 +48,20 @@ extern "C" {
# endif /* !_CTYPE_DISABLE_MACROS */
#endif /* !_CRT_WCTYPEDATA_DEFINED */
/* CRT stuff */
#if 1
extern const unsigned char __newclmap[];
extern const unsigned char __newcumap[];
extern pthreadlocinfo __ptlocinfo;
extern pthreadmbcinfo __ptmbcinfo;
extern int __globallocalestatus;
extern int __locale_changed;
extern struct threadlocaleinfostruct __initiallocinfo;
extern _locale_tstruct __initiallocalestructinfo;
pthreadlocinfo __cdecl __updatetlocinfo(void);
pthreadmbcinfo __cdecl __updatetmbcinfo(void);
#endif
#define _UPPER 0x1
#define _LOWER 0x2
#define _DIGIT 0x4

View file

@ -166,8 +166,6 @@ extern char **_imp___wcmdln;
PIMAGE_SECTION_HEADER __cdecl _FindPESection (PBYTE pImageBase, DWORD_PTR rva);
BOOL __cdecl _IsNonwritableInCurrentImage (PBYTE pTarget);
extern int __globallocalestatus;
#ifdef __cplusplus
}
#endif