* msvcrt.def.in: Update comment.
Exclude _ctype stub if using msvcr71.dll or newer. * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer. * include/wctype.h: Likewise.
This commit is contained in:
parent
41391cb2bb
commit
a4b5a24055
@ -1,3 +1,10 @@
|
|||||||
|
2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* msvcrt.def.in: Update comment.
|
||||||
|
Exclude _ctype stub if using msvcr71.dll or newer.
|
||||||
|
* include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
|
||||||
|
* include/wctype.h: Likewise.
|
||||||
|
|
||||||
2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
|
2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
*include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
|
*include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
|
||||||
|
@ -108,7 +108,9 @@ _CRTIMP int __cdecl __MINGW_NOTHROW _toupper(int);
|
|||||||
|
|
||||||
|
|
||||||
#ifdef __DECLSPEC_SUPPORTED
|
#ifdef __DECLSPEC_SUPPORTED
|
||||||
|
# if __MSVCRT_VERSION__ <= 0x0700
|
||||||
__MINGW_IMPORT unsigned short _ctype[];
|
__MINGW_IMPORT unsigned short _ctype[];
|
||||||
|
# endif
|
||||||
# ifdef __MSVCRT__
|
# ifdef __MSVCRT__
|
||||||
__MINGW_IMPORT unsigned short* _pctype;
|
__MINGW_IMPORT unsigned short* _pctype;
|
||||||
# else /* CRTDLL */
|
# else /* CRTDLL */
|
||||||
@ -117,8 +119,10 @@ __MINGW_IMPORT unsigned short _ctype[];
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
#else /* __DECLSPEC_SUPPORTED */
|
#else /* __DECLSPEC_SUPPORTED */
|
||||||
|
# if __MSVCRT_VERSION__ <= 0x0700
|
||||||
extern unsigned short** _imp___ctype;
|
extern unsigned short** _imp___ctype;
|
||||||
# define _ctype (*_imp___ctype)
|
# define _ctype (*_imp___ctype)
|
||||||
|
# endif
|
||||||
# ifdef __MSVCRT__
|
# ifdef __MSVCRT__
|
||||||
extern unsigned short** _imp___pctype;
|
extern unsigned short** _imp___pctype;
|
||||||
# define _pctype (*_imp___pctype)
|
# define _pctype (*_imp___pctype)
|
||||||
|
@ -95,7 +95,9 @@ _CRTIMP int __cdecl __MINGW_NOTHROW isleadbyte (int);
|
|||||||
/* Also in ctype.h */
|
/* Also in ctype.h */
|
||||||
|
|
||||||
#ifdef __DECLSPEC_SUPPORTED
|
#ifdef __DECLSPEC_SUPPORTED
|
||||||
|
# if __MSVCRT_VERSION__ <= 0x0700
|
||||||
__MINGW_IMPORT unsigned short _ctype[];
|
__MINGW_IMPORT unsigned short _ctype[];
|
||||||
|
# endif
|
||||||
# ifdef __MSVCRT__
|
# ifdef __MSVCRT__
|
||||||
__MINGW_IMPORT unsigned short* _pctype;
|
__MINGW_IMPORT unsigned short* _pctype;
|
||||||
# else /* CRTDLL */
|
# else /* CRTDLL */
|
||||||
@ -104,8 +106,10 @@ __MINGW_IMPORT unsigned short _ctype[];
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
#else /* ! __DECLSPEC_SUPPORTED */
|
#else /* ! __DECLSPEC_SUPPORTED */
|
||||||
|
# if __MSVCRT_VERSION__ <= 0x0700
|
||||||
extern unsigned short** _imp___ctype;
|
extern unsigned short** _imp___ctype;
|
||||||
# define _ctype (*_imp___ctype)
|
# define _ctype (*_imp___ctype)
|
||||||
|
# endif
|
||||||
# ifdef __MSVCRT__
|
# ifdef __MSVCRT__
|
||||||
extern unsigned short** _imp___pctype;
|
extern unsigned short** _imp___pctype;
|
||||||
# define _pctype (*_imp___pctype)
|
# define _pctype (*_imp___pctype)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
;* This file is a part of the mingw-runtime package.
|
;* This file is a part of the mingw-runtime package.
|
||||||
;* No warranty is given; refer to the file DISCLAIMER within the package.
|
;* No warranty is given; refer to the file DISCLAIMER within the package.
|
||||||
;
|
;
|
||||||
; Exports from msvcrt.dll, msvcr70.dll and msvcr71.dll
|
; Exports from msvcrt.dll, msvcr70.dll, msvcr71.dll and msvcr80.dll
|
||||||
;
|
;
|
||||||
; NOTE: All exports, except for what appeared to be C++ mangled names,
|
; NOTE: All exports, except for what appeared to be C++ mangled names,
|
||||||
; are included. Not all functions have prototypes in the headers
|
; are included. Not all functions have prototypes in the headers
|
||||||
@ -148,7 +148,9 @@ _cprintf
|
|||||||
_cputs
|
_cputs
|
||||||
_creat
|
_creat
|
||||||
_cscanf
|
_cscanf
|
||||||
|
#if !(__msvcr71__ || __msvcr71d__ || __msvcr80__ || __msvcr80d__)
|
||||||
_ctype DATA
|
_ctype DATA
|
||||||
|
#endif
|
||||||
_cwait
|
_cwait
|
||||||
_daylight DATA
|
_daylight DATA
|
||||||
_dstbias DATA
|
_dstbias DATA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user