msvcr71: Share the source code with msvcrt.

This commit is contained in:
Piotr Caban 2014-04-18 12:33:53 +02:00 committed by Alexandre Julliard
parent 3a7bf4a34b
commit e57a4e9490
4 changed files with 884 additions and 894 deletions

View File

@ -1,6 +1,34 @@
EXTRADEFS = -D_MT -D_MSVCR_VER=71
MODULE = msvcr71.dll
IMPORTLIB = msvcr71
IMPORTS = msvcrt
DELAYIMPORTS = advapi32 user32
PARENTSRC = ../msvcrt
C_SRCS = \
msvcr71.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 @@
/*
* msvcr71 main file
*
* Copyright (C) 2008 Hans Leidekker
*
* 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 inst, DWORD reason, LPVOID reserved )
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( inst );
break;
}
return TRUE;
}

File diff suppressed because it is too large Load Diff

View File

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