msvcp90: Fix the mbstowcs_s macro return value.
This commit is contained in:
parent
47ed5655c5
commit
91f2b04625
|
@ -528,6 +528,6 @@ typedef struct {
|
||||||
#if _MSVCP_VER < 80
|
#if _MSVCP_VER < 80
|
||||||
#define memcpy_s( dst, size, src, count ) (memcpy( (dst), (src), (count) ), 0)
|
#define memcpy_s( dst, size, src, count ) (memcpy( (dst), (src), (count) ), 0)
|
||||||
#define memmove_s( dst, size, src, count ) (memmove( (dst), (src), (count) ), 0)
|
#define memmove_s( dst, size, src, count ) (memmove( (dst), (src), (count) ), 0)
|
||||||
#define mbstowcs_s( ret, wcs, size, mbs, count ) (mbstowcs( (wcs), (mbs), (count) ))
|
#define mbstowcs_s( ret, wcs, size, mbs, count ) (mbstowcs( (wcs), (mbs), (count) ), 0)
|
||||||
#define hypotf( x, y ) ((float)hypot( (double)(x), (double)(y) ))
|
#define hypotf( x, y ) ((float)hypot( (double)(x), (double)(y) ))
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue