msvcrtd: Share source with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-03-29 13:01:47 +01:00
parent 4a5bff8368
commit 610d48ba77
4 changed files with 830 additions and 813 deletions

View file

@ -1,6 +1,36 @@
EXTRADEFS = -D_MT -D_MSVCR_VER=0
MODULE = msvcrtd.dll
IMPORTLIB = msvcrtd
IMPORTS = msvcrt
PARENTSRC = ../msvcrt
DELAYIMPORTS = advapi32 user32
C_SRCS = \
debug.c
console.c \
cpp.c \
ctype.c \
data.c \
debug.c \
dir.c \
environ.c \
errno.c \
except.c \
except_arm.c \
except_arm64.c \
except_i386.c \
except_x86_64.c \
exit.c \
file.c \
heap.c \
locale.c \
lock.c \
main.c \
math.c \
mbcs.c \
misc.c \
process.c \
scanf.c \
string.c \
thread.c \
time.c \
undname.c \
wcs.c

View file

@ -18,24 +18,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wine/debug.h"
#include "winbase.h"
#define _DEBUG
#include "crtdbg.h"
#include "msvcrt.h"
int _crtAssertBusy = -1;
int _crtBreakAlloc = -1;
int _crtDbgFlag = 0;
#ifdef _WIN64
typedef unsigned __int64 MSVCRT_size_t;
#else
typedef unsigned long MSVCRT_size_t;
#endif
extern int _callnewh(MSVCRT_size_t);
/*********************************************************************
* _CrtSetDumpClient (MSVCRTD.@)

File diff suppressed because it is too large Load diff

View file

@ -31,7 +31,6 @@ my @dll_groups =
"msvcirt",
"msvcrt40",
"msvcrt20",
"msvcrtd",
"crtdll",
],
[