Add some stubs to allow msvcp60.dll to load
authorGé van Geldorp <ge@gse.nl>
Mon, 20 Dec 2004 17:32:05 +0000 (17:32 +0000)
committerGé van Geldorp <ge@gse.nl>
Mon, 20 Dec 2004 17:32:05 +0000 (17:32 +0000)
svn path=/trunk/; revision=12254

reactos/lib/msvcrt/locale/locale.c
reactos/lib/msvcrt/msvcrt.def

index 5789790..642f220 100644 (file)
@@ -9,6 +9,8 @@
 #define NDEBUG
 #include <msvcrt/msvcrtdbg.h>
 
+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;
+}
index 01b9f69..06c69a0 100644 (file)
@@ -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