- Get rid of incompatible strtoull export in msvcrt.dll

- Make dbghelp.dll use strtoui64 instead. Another solution would be to add it to libwine, but it will make code duplication even worse (strtoull is already implemented in two places).

svn path=/trunk/; revision=29440
This commit is contained in:
Aleksey Bragin 2007-10-07 16:42:10 +00:00
parent 69fd113200
commit 2012ccfc2f
2 changed files with 4 additions and 4 deletions

View file

@ -61,6 +61,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(dbghelp_stabs); WINE_DEFAULT_DEBUG_CHANNEL(dbghelp_stabs);
UINT64 _strtoui64( const char *nptr, char **endptr, int base );
#ifndef N_UNDF #ifndef N_UNDF
#define N_UNDF 0x00 #define N_UNDF 0x00
#endif #endif
@ -435,13 +437,13 @@ static int stabs_pts_read_range_value(struct ParseTypedefData* ptd, struct pts_r
break; break;
case '-': case '-':
prv->sign = -1; prv->sign = -1;
prv->val = strtoull(++ptd->ptr, &last, 10); prv->val = _strtoui64(++ptd->ptr, &last, 10);
ptd->ptr = last; ptd->ptr = last;
break; break;
case '+': case '+':
default: default:
prv->sign = 1; prv->sign = 1;
prv->val = strtoull(ptd->ptr, &last, 10); prv->val = _strtoui64(ptd->ptr, &last, 10);
ptd->ptr = last; ptd->ptr = last;
break; break;
} }

View file

@ -529,7 +529,6 @@ _strset
_strtime _strtime
_strtoi64=stub _strtoi64=stub
_strtoui64=strtoull _strtoui64=strtoull
_strtoull=strtoull
_strupr _strupr
_swab _swab
_sys_errlist DATA _sys_errlist DATA
@ -798,7 +797,6 @@ strtod
strtok strtok
strtol=NTDLL.strtol strtol=NTDLL.strtol
strtoul strtoul
strtoull
strxfrm strxfrm
swprintf=crt_swprintf swprintf=crt_swprintf
swscanf swscanf