Fix MinGW-Bug [2125708].
This commit is contained in:
parent
57d7cfcdb7
commit
32bdff5294
|
@ -1,3 +1,13 @@
|
||||||
|
2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
|
||||||
|
|
||||||
|
Fix MinGW-Bug [2125708].
|
||||||
|
(Reported by Alexandr Zamaraev).
|
||||||
|
|
||||||
|
* include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
|
||||||
|
not wanted here; remove it; replace it by...
|
||||||
|
(uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
|
||||||
|
(_invalid_parameter_handler): ...this function typedef.
|
||||||
|
|
||||||
2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
|
2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
|
||||||
|
|
||||||
* Makefile.in: Don't include host_os as part of snapshot filename.
|
* Makefile.in: Don't include host_os as part of snapshot filename.
|
||||||
|
|
|
@ -413,7 +413,6 @@ _onexit_t __cdecl __MINGW_NOTHROW _onexit( _onexit_t );
|
||||||
_CRTIMP int __cdecl __MINGW_NOTHROW _putenv (const char*);
|
_CRTIMP int __cdecl __MINGW_NOTHROW _putenv (const char*);
|
||||||
_CRTIMP void __cdecl __MINGW_NOTHROW _searchenv (const char*, const char*, char*);
|
_CRTIMP void __cdecl __MINGW_NOTHROW _searchenv (const char*, const char*, char*);
|
||||||
|
|
||||||
|
|
||||||
_CRTIMP char* __cdecl __MINGW_NOTHROW _ecvt (double, int, int*, int*);
|
_CRTIMP char* __cdecl __MINGW_NOTHROW _ecvt (double, int, int*, int*);
|
||||||
_CRTIMP char* __cdecl __MINGW_NOTHROW _fcvt (double, int, int*, int*);
|
_CRTIMP char* __cdecl __MINGW_NOTHROW _fcvt (double, int, int*, int*);
|
||||||
_CRTIMP char* __cdecl __MINGW_NOTHROW _gcvt (double, int, char*);
|
_CRTIMP char* __cdecl __MINGW_NOTHROW _gcvt (double, int, char*);
|
||||||
|
@ -437,39 +436,44 @@ _CRTIMP __int64 __cdecl __MINGW_NOTHROW _wtoi64(const wchar_t *);
|
||||||
_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _i64tow(__int64, wchar_t *, int);
|
_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _i64tow(__int64, wchar_t *, int);
|
||||||
_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _ui64tow(unsigned __int64, wchar_t *, int);
|
_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _ui64tow(unsigned __int64, wchar_t *, int);
|
||||||
|
|
||||||
|
|
||||||
_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _rotl(unsigned int, int) __MINGW_ATTRIB_CONST;
|
_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _rotl(unsigned int, int) __MINGW_ATTRIB_CONST;
|
||||||
_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _rotr(unsigned int, int) __MINGW_ATTRIB_CONST;
|
_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _rotr(unsigned int, int) __MINGW_ATTRIB_CONST;
|
||||||
_CRTIMP unsigned long __cdecl __MINGW_NOTHROW _lrotl(unsigned long, int) __MINGW_ATTRIB_CONST;
|
_CRTIMP unsigned long __cdecl __MINGW_NOTHROW _lrotl(unsigned long, int) __MINGW_ATTRIB_CONST;
|
||||||
_CRTIMP unsigned long __cdecl __MINGW_NOTHROW _lrotr(unsigned long, int) __MINGW_ATTRIB_CONST;
|
_CRTIMP unsigned long __cdecl __MINGW_NOTHROW _lrotr(unsigned long, int) __MINGW_ATTRIB_CONST;
|
||||||
|
|
||||||
_CRTIMP int __cdecl __MINGW_NOTHROW _set_error_mode (int);
|
_CRTIMP int __cdecl __MINGW_NOTHROW _set_error_mode (int);
|
||||||
#define _OUT_TO_DEFAULT 0
|
|
||||||
#define _OUT_TO_STDERR 1
|
|
||||||
#define _OUT_TO_MSGBOX 2
|
|
||||||
#define _REPORT_ERRMODE 3
|
|
||||||
|
|
||||||
#if __MSVCRT_VERSION__ >= 0x800
|
# define _OUT_TO_DEFAULT 0
|
||||||
#ifndef _INTPTR_T_DEFINED
|
# define _OUT_TO_STDERR 1
|
||||||
#define _INTPTR_T_DEFINED
|
# define _OUT_TO_MSGBOX 2
|
||||||
#ifdef _WIN64
|
# define _REPORT_ERRMODE 3
|
||||||
typedef __int64 intptr_t;
|
|
||||||
#else
|
# if __MSVCRT_VERSION__ >= 0x800
|
||||||
typedef int intptr_t;
|
# ifndef _UINTPTR_T_DEFINED
|
||||||
#endif
|
# define _UINTPTR_T_DEFINED
|
||||||
#endif
|
# ifdef _WIN64
|
||||||
|
typedef unsigned __int64 uintptr_t;
|
||||||
|
# else
|
||||||
|
typedef unsigned int uintptr_t;
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _set_abort_behavior (unsigned int, unsigned int);
|
_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _set_abort_behavior (unsigned int, unsigned int);
|
||||||
/* These masks work with msvcr80.dll version 8.0.50215.44 (a beta release). */
|
|
||||||
#define _WRITE_ABORT_MSG 1
|
|
||||||
#define _CALL_REPORTFAULT 2
|
|
||||||
|
|
||||||
typedef void (* _invalid_parameter_handler) (const wchar_t *,
|
/* These masks work with msvcr80.dll version 8.0.50215.44 (a beta release). */
|
||||||
const wchar_t *,
|
# define _WRITE_ABORT_MSG 1
|
||||||
const wchar_t *,
|
# define _CALL_REPORTFAULT 2
|
||||||
unsigned int,
|
|
||||||
uintptr_t);
|
typedef void
|
||||||
|
(* _invalid_parameter_handler) (
|
||||||
|
const wchar_t *,
|
||||||
|
const wchar_t *,
|
||||||
|
const wchar_t *,
|
||||||
|
unsigned int,
|
||||||
|
uintptr_t);
|
||||||
_invalid_parameter_handler _set_invalid_parameter_handler (_invalid_parameter_handler);
|
_invalid_parameter_handler _set_invalid_parameter_handler (_invalid_parameter_handler);
|
||||||
#endif /* __MSVCRT_VERSION__ >= 0x800 */
|
|
||||||
|
# endif /* __MSVCRT_VERSION__ >= 0x800 */
|
||||||
#endif /* __MSVCRT__ */
|
#endif /* __MSVCRT__ */
|
||||||
|
|
||||||
#ifndef _NO_OLDNAMES
|
#ifndef _NO_OLDNAMES
|
||||||
|
|
Loading…
Reference in New Issue