msvcr100: Share the source code with msvcrt.

oldstable
Piotr Caban 2014-04-17 13:07:00 +02:00 committed by Alexandre Julliard
parent b10c237c5a
commit 4d40aea0bd
4 changed files with 1216 additions and 1231 deletions

View File

@ -1,8 +1,36 @@
EXTRADEFS = -D_MT -D_MSVCR_VER=100
MODULE = msvcr100.dll
IMPORTLIB = msvcr100
IMPORTS = msvcrt
DELAYIMPORTS = advapi32 user32
PARENTSRC = ../msvcrt
C_SRCS = \
msvcr100.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
RC_SRCS = rsrc.rc

View File

@ -1,42 +0,0 @@
/*
* msvcr100 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 "stdio.h"
#include "windef.h"
#include "winbase.h"
/*********************************************************************
* DllMain (MSVCR100.@)
*/
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);
_set_printf_count_output(0);
}
return TRUE;
}

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,6 @@ my @dll_groups =
(
[
"msvcrt",
"msvcr100",
"msvcr110",
"msvcirt",
"msvcr80",