mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:15:49 +00:00
- MS's crt headers define this as 'const'. Fixes an error with MSVC compilation.
svn path=/trunk/; revision=30723
This commit is contained in:
parent
0777353232
commit
db2556cb04
3 changed files with 8 additions and 8 deletions
|
@ -112,9 +112,9 @@ _CRTIMP int __cdecl __MINGW_NOTHROW _toupper(int);
|
||||||
__MINGW_IMPORT unsigned short _ctype[];
|
__MINGW_IMPORT unsigned short _ctype[];
|
||||||
# endif
|
# endif
|
||||||
# ifdef __MSVCRT__
|
# ifdef __MSVCRT__
|
||||||
__MINGW_IMPORT unsigned short* _pctype;
|
__MINGW_IMPORT const unsigned short* _pctype;
|
||||||
# else /* CRTDLL */
|
# else /* CRTDLL */
|
||||||
__MINGW_IMPORT unsigned short* _pctype_dll;
|
__MINGW_IMPORT const unsigned short* _pctype_dll;
|
||||||
# define _pctype _pctype_dll
|
# define _pctype _pctype_dll
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
|
@ -99,9 +99,9 @@ _CRTIMP int __cdecl __MINGW_NOTHROW isleadbyte (int);
|
||||||
__MINGW_IMPORT unsigned short _ctype[];
|
__MINGW_IMPORT unsigned short _ctype[];
|
||||||
# endif
|
# endif
|
||||||
# ifdef __MSVCRT__
|
# ifdef __MSVCRT__
|
||||||
__MINGW_IMPORT unsigned short* _pctype;
|
__MINGW_IMPORT const unsigned short* _pctype;
|
||||||
# else /* CRTDLL */
|
# else /* CRTDLL */
|
||||||
__MINGW_IMPORT unsigned short* _pctype_dll;
|
__MINGW_IMPORT const unsigned short* _pctype_dll;
|
||||||
# define _pctype _pctype_dll
|
# define _pctype _pctype_dll
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
|
@ -266,13 +266,13 @@ unsigned short _ctype[] = {
|
||||||
0 /* 0xff */
|
0 /* 0xff */
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned short *_pctype = _ctype + 1;
|
const unsigned short *_pctype = _ctype + 1;
|
||||||
unsigned short *_pwctype = _ctype + 1;
|
const unsigned short *_pwctype = _ctype + 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
unsigned short **__p__pctype(void)
|
const unsigned short **__p__pctype(void)
|
||||||
{
|
{
|
||||||
return &_pctype;
|
return &_pctype;
|
||||||
}
|
}
|
||||||
|
@ -280,7 +280,7 @@ unsigned short **__p__pctype(void)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
unsigned short **__p__pwctype(void)
|
const unsigned short **__p__pwctype(void)
|
||||||
{
|
{
|
||||||
return &_pwctype;
|
return &_pwctype;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue