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

This commit is contained in:
Detlef Riekenberg 2010-03-12 19:22:25 +01:00 committed by Alexandre Julliard
parent 83178a4fd2
commit a949a700d2
5 changed files with 1529 additions and 0 deletions

9
configure vendored
View File

@ -15172,6 +15172,14 @@ dlls/msvcr71 dlls/msvcr71/__install__ dlls/msvcr71/__install-lib__ dlls/msvcr71/
wine_fn_config_makefile dlls/msvcr71 "dlls/Makedll.rules \$(MAKEDEP)"
test "x$enable_msvcr71" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcr71"
wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcr80/libmsvcr80.$IMPLIBEXT"
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcr80/libmsvcr80.$IMPLIBEXT dlls/msvcr80/libmsvcr80.cross.a: tools/widl tools/winebuild tools/winegcc include
dlls/msvcr80/libmsvcr80.$IMPLIBEXT dlls/msvcr80/libmsvcr80.cross.a: dlls/msvcr80/msvcr80.spec dlls/msvcr80/Makefile
@cd dlls/msvcr80 && \$(MAKE) \`basename \$@\`
dlls/msvcr80 dlls/msvcr80/__install__ dlls/msvcr80/__install-lib__ dlls/msvcr80/__install-dev__: __builddeps__"
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/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
@ -17607,6 +17615,7 @@ do
"dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
"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/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

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

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

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

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

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

1468
dlls/msvcr80/msvcr80.spec Normal file

File diff suppressed because it is too large Load Diff