build msvcrt and crtdll from same source via lib\crt
fix problem with scanf/printf reading/printing doubles
Modified: trunk/reactos/Makefile
Modified: trunk/reactos/include/msvcrt/internal/file.h
Added: trunk/reactos/include/msvcrt/wine/
Added: trunk/reactos/include/msvcrt/wine/cppexcept.h
Added: trunk/reactos/include/msvcrt/wine/eh.h
Added: trunk/reactos/include/msvcrt/wine/msvcrt.h

Modified: trunk/reactos/Makefile
--- trunk/reactos/Makefile	2005-01-27 21:18:04 UTC (rev 13342)
+++ trunk/reactos/Makefile	2005-01-27 21:23:43 UTC (rev 13343)
@@ -42,7 +42,7 @@
 LIB_FSLIB = vfatlib
 
 # Static libraries
-LIB_STATIC = string rosrtl epsapi uuid libwine zlib rtl tgetopt pseh adns dxguid strmiids
+LIB_STATIC = string rosrtl epsapi uuid libwine zlib rtl tgetopt pseh adns dxguid strmiids crt
 
 # Keyboard layout libraries
 DLLS_KBD = kbdda kbddv kbdes kbdfr kbdgr kbdse kbduk kbdus

Modified: trunk/reactos/include/msvcrt/internal/file.h
--- trunk/reactos/include/msvcrt/internal/file.h	2005-01-27 21:18:04 UTC (rev 13342)
+++ trunk/reactos/include/msvcrt/internal/file.h	2005-01-27 21:23:43 UTC (rev 13343)
@@ -70,6 +70,8 @@
 
 void _dosmaperr(unsigned long oserrcode);
 
+extern int __fmode;
+
 #ifdef __cplusplus
 }
 #endif

Copied: trunk/reactos/include/msvcrt/wine/cppexcept.h (from rev 13290, trunk/reactos/lib/msvcrt/wine/cppexcept.h)

Copied: trunk/reactos/include/msvcrt/wine/eh.h (from rev 13290, trunk/reactos/lib/msvcrt/wine/eh.h)

Copied: trunk/reactos/include/msvcrt/wine/msvcrt.h (from rev 13290, trunk/reactos/lib/msvcrt/wine/msvcrt.h)