From 259079e08334550d9f4823695a7ef225de28459b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Mon, 20 Dec 2004 17:32:05 +0000 Subject: [PATCH] Add some stubs to allow msvcp60.dll to load svn path=/trunk/; revision=12254 --- reactos/lib/msvcrt/locale/locale.c | 26 ++++++++++++++++++++++++++ reactos/lib/msvcrt/msvcrt.def | 10 +++++----- 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/reactos/lib/msvcrt/locale/locale.c b/reactos/lib/msvcrt/locale/locale.c index 578979023a5..642f22011fd 100644 --- a/reactos/lib/msvcrt/locale/locale.c +++ b/reactos/lib/msvcrt/locale/locale.c @@ -9,6 +9,8 @@ #define NDEBUG #include +unsigned int __setlc_active; +unsigned int __unguarded_readlc_active; int _current_category; /* used by setlocale */ const char *_current_locale; @@ -175,3 +177,27 @@ void __lc_collate_cp(int cp) DPRINT1("__lc_collate_cp - stub\n"); return; } + + +/********************************************************************* + * __lc_handle (MSVCRT.@) + * + * @unimplemented + */ +void __lc_handle(void) +{ +DPRINT1("__lc_handle - stub\n"); +return; +} + + +/********************************************************************* + * __lc_codepage (MSVCRT.@) + * + * @unimplemented + */ +void __lc_codepage(void) +{ +DPRINT1("__lc_codepage - stub\n"); +return; +} diff --git a/reactos/lib/msvcrt/msvcrt.def b/reactos/lib/msvcrt/msvcrt.def index 01b9f69417a..06c69a06e50 100644 --- a/reactos/lib/msvcrt/msvcrt.def +++ b/reactos/lib/msvcrt/msvcrt.def @@ -1,4 +1,4 @@ -; $Id: msvcrt.def,v 1.37 2004/12/18 22:15:07 gvg Exp $ +; $Id: msvcrt.def,v 1.38 2004/12/20 17:32:04 gvg Exp $ ; ; ReactOS MSVCRT Compatibility Library ; @@ -119,9 +119,9 @@ __initenv DATA __isascii __iscsym __iscsymf -;__lc_codepage +__lc_codepage __lc_collate_cp -;__lc_handle +__lc_handle ;__lconv_init __mb_cur_max DATA __p___argc @@ -156,14 +156,14 @@ __p__winver __pioinfo ;__pxcptinfoptrs __set_app_type -;__setlc_active +__setlc_active DATA __setusermatherr __threadhandle __threadid __toascii __unDName ;__unDNameEx -;__unguarded_readlc_active +__unguarded_readlc_active DATA __wargv __wgetmainargs __winitenv