msvcr90: Add msvcr90.dll with forwards to msvcrt.dll.

This commit is contained in:
Detlef Riekenberg 2010-03-12 17:25:50 +01:00 committed by Alexandre Julliard
parent a949a700d2
commit c8195ebdb9
5 changed files with 1513 additions and 0 deletions

9
configure vendored
View File

@ -15180,6 +15180,14 @@ dlls/msvcr80 dlls/msvcr80/__install__ dlls/msvcr80/__install-lib__ dlls/msvcr80/
wine_fn_config_makefile dlls/msvcr80 "dlls/Makedll.rules \$(MAKEDEP)"
test "x$enable_msvcr80" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcr80"
wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcr90/libmsvcr90.$IMPLIBEXT"
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcr90/libmsvcr90.$IMPLIBEXT dlls/msvcr90/libmsvcr90.cross.a: tools/widl tools/winebuild tools/winegcc include
dlls/msvcr90/libmsvcr90.$IMPLIBEXT dlls/msvcr90/libmsvcr90.cross.a: dlls/msvcr90/msvcr90.spec dlls/msvcr90/Makefile
@cd dlls/msvcr90 && \$(MAKE) \`basename \$@\`
dlls/msvcr90 dlls/msvcr90/__install__ dlls/msvcr90/__install-lib__ dlls/msvcr90/__install-dev__: __builddeps__"
wine_fn_config_makefile dlls/msvcr90 "dlls/Makedll.rules \$(MAKEDEP)"
test "x$enable_msvcr90" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcr90"
wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcrt/libmsvcrt.$IMPLIBEXT"
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrt/libmsvcrt.$IMPLIBEXT dlls/msvcrt/libmsvcrt.cross.a: tools/widl tools/winebuild tools/winegcc include
dlls/msvcrt/libmsvcrt.$IMPLIBEXT dlls/msvcrt/libmsvcrt.cross.a: dlls/msvcrt/msvcrt.spec dlls/msvcrt/Makefile
@ -17616,6 +17624,7 @@ do
"dlls/msvcr70/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr70/Makefile" ;;
"dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
"dlls/msvcr80/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr80/Makefile" ;;
"dlls/msvcr90/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr90/Makefile" ;;
"dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
"dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
"dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;

View File

@ -2402,6 +2402,7 @@ WINE_CONFIG_DLL(msvcirt)
WINE_CONFIG_DLL(msvcr70,,[msvcr70])
WINE_CONFIG_DLL(msvcr71,,[msvcr71])
WINE_CONFIG_DLL(msvcr80,,[msvcr80])
WINE_CONFIG_DLL(msvcr90,,[msvcr90])
WINE_CONFIG_DLL(msvcrt,,[msvcrt])
WINE_CONFIG_TEST(dlls/msvcrt/tests)
WINE_CONFIG_DLL(msvcrt20,,[msvcrt20])

14
dlls/msvcr90/Makefile.in Normal file
View File

@ -0,0 +1,14 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msvcr90.dll
IMPORTLIB = msvcr90
IMPORTS = msvcrt kernel32
C_SRCS = \
msvcr90.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

37
dlls/msvcr90/msvcr90.c Normal file
View File

@ -0,0 +1,37 @@
/*
* msvcr90 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;
}

1452
dlls/msvcr90/msvcr90.spec Normal file

File diff suppressed because it is too large Load Diff