Commit 67815c6b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msvcr71: Add an implementation that forwards to msvcrt.

parent b284dfd7
......@@ -287,6 +287,7 @@ dlls/msi/tests/testlist.c
dlls/msimg32/libmsimg32.def
dlls/msimtf/rsrc.res
dlls/msrle32/rsrc.res
dlls/msvcr71/libmsvcr71.def
dlls/msvcrt/libmsvcrt.def
dlls/msvcrt/rsrc.res
dlls/msvcrt/tests/*.ok
......
......@@ -314,6 +314,7 @@ ALL_MAKEFILES = \
dlls/msnet32/Makefile \
dlls/msrle32/Makefile \
dlls/msvcirt/Makefile \
dlls/msvcr71/Makefile \
dlls/msvcrt/Makefile \
dlls/msvcrt/tests/Makefile \
dlls/msvcrt20/Makefile \
......@@ -702,6 +703,7 @@ dlls/msisys.ocx/Makefile: dlls/msisys.ocx/Makefile.in dlls/Makedll.rules
dlls/msnet32/Makefile: dlls/msnet32/Makefile.in dlls/Makedll.rules
dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules
dlls/msvcirt/Makefile: dlls/msvcirt/Makefile.in dlls/Makedll.rules
dlls/msvcr71/Makefile: dlls/msvcr71/Makefile.in dlls/Makedll.rules
dlls/msvcrt/Makefile: dlls/msvcrt/Makefile.in dlls/Makedll.rules
dlls/msvcrt/tests/Makefile: dlls/msvcrt/tests/Makefile.in dlls/Maketest.rules
dlls/msvcrt20/Makefile: dlls/msvcrt20/Makefile.in dlls/Makedll.rules
......
......@@ -21419,6 +21419,8 @@ ac_config_files="$ac_config_files dlls/msrle32/Makefile"
ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
......@@ -22575,6 +22577,7 @@ do
"dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
"dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
"dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
"dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/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" ;;
......
......@@ -1811,6 +1811,7 @@ AC_CONFIG_FILES([dlls/msisys.ocx/Makefile])
AC_CONFIG_FILES([dlls/msnet32/Makefile])
AC_CONFIG_FILES([dlls/msrle32/Makefile])
AC_CONFIG_FILES([dlls/msvcirt/Makefile])
AC_CONFIG_FILES([dlls/msvcr71/Makefile])
AC_CONFIG_FILES([dlls/msvcrt/Makefile])
AC_CONFIG_FILES([dlls/msvcrt/tests/Makefile])
AC_CONFIG_FILES([dlls/msvcrt20/Makefile])
......
......@@ -132,6 +132,7 @@ BASEDIRS = \
msnet32 \
msrle32 \
msvcirt \
msvcr71 \
msvcrt \
msvcrt20 \
msvcrt40 \
......@@ -559,6 +560,7 @@ IMPORT_LIBS = \
mshtml/libmshtml.$(IMPLIBEXT) \
msi/libmsi.$(IMPLIBEXT) \
msimg32/libmsimg32.$(IMPLIBEXT) \
msvcr71/libmsvcr71.$(IMPLIBEXT) \
msvcrt/libmsvcrt.$(IMPLIBEXT) \
msvcrt20/libmsvcrt20.$(IMPLIBEXT) \
msvcrt40/libmsvcrt40.$(IMPLIBEXT) \
......@@ -815,6 +817,9 @@ msi/libmsi.$(IMPLIBEXT): msi/msi.spec $(WINEBUILD)
msimg32/libmsimg32.$(IMPLIBEXT): msimg32/msimg32.spec $(WINEBUILD)
@cd msimg32 && $(MAKE) libmsimg32.$(IMPLIBEXT)
msvcr71/libmsvcr71.$(IMPLIBEXT): msvcr71/msvcr71.spec $(WINEBUILD)
@cd msvcr71 && $(MAKE) libmsvcr71.$(IMPLIBEXT)
msvcrt/libmsvcrt.$(IMPLIBEXT): msvcrt/msvcrt.spec $(WINEBUILD)
@cd msvcrt && $(MAKE) libmsvcrt.$(IMPLIBEXT)
......
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msvcr71.dll
IMPORTLIB = libmsvcr71.$(IMPLIBEXT)
IMPORTS = msvcrt kernel32
C_SRCS = \
msvcr71.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
/*
* 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"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msvcr71);
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;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment