msvcr70: Share the source code with msvcrt.

This commit is contained in:
Piotr Caban 2014-04-18 12:33:37 +02:00 committed by Alexandre Julliard
parent f9c40c37cd
commit 3a7bf4a34b
4 changed files with 886 additions and 896 deletions

View File

@ -1,6 +1,34 @@
EXTRADEFS = -D_MT -D_MSVCR_VER=70
MODULE = msvcr70.dll
IMPORTLIB = msvcr70
IMPORTS = msvcrt
DELAYIMPORTS = advapi32 user32
PARENTSRC = ../msvcrt
C_SRCS = \
msvcr70.c
console.c \
cpp.c \
ctype.c \
data.c \
dir.c \
environ.c \
errno.c \
except.c \
except_arm.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

@ -1,37 +0,0 @@
/*
* msvcr70 specific functions
*
* Copyright 2010 Detlef Riekenberg
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hdll);
}
return TRUE;
}

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,6 @@ my @dll_groups =
"msvcirt",
"msvcr80",
"msvcr71",
"msvcr70",
"msvcrt40",
"msvcrt20",
"msvcrtd",