Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
645540be
Commit
645540be
authored
Jan 13, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Add wrappers for functions that don't exist in old msvcrt versions.
parent
c2b07321
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
locale.c
dlls/msvcp90/locale.c
+3
-4
msvcp90.h
dlls/msvcp90/msvcp90.h
+7
-0
No files found.
dlls/msvcp90/locale.c
View file @
645540be
...
...
@@ -20,7 +20,6 @@
#include <stdarg.h>
#include "msvcp90.h"
#include "locale.h"
#include "errno.h"
#include "limits.h"
...
...
@@ -29,14 +28,14 @@
#include "wchar.h"
#include "wctype.h"
#include "time.h"
#include "wine/list.h"
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "msvcp90.h"
#include "wine/unicode.h"
#include "wine/list.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcp
);
char
*
__cdecl
_Getdays
(
void
);
...
...
dlls/msvcp90/msvcp90.h
View file @
645540be
...
...
@@ -515,3 +515,10 @@ typedef struct {
double
real
;
double
imag
;
}
complex_double
;
#if _MSVCP_VER < 80
#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 mbstowcs_s( ret, wcs, size, mbs, count ) (mbstowcs( (wcs), (mbs), (count) ))
#define hypotf( x, y ) ((float)hypot( (double)(x), (double)(y) ))
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment