- Changed the definition of fpos_t to a 64bit value to get binutils
2.15.94 working.
Modified: trunk/reactos/include/msvcrt/stdio.h
_____
Modified: trunk/reactos/include/msvcrt/stdio.h
--- trunk/reactos/include/msvcrt/stdio.h 2005-02-13 13:49:55 UTC
(rev 13525)
+++ trunk/reactos/include/msvcrt/stdio.h 2005-02-13 15:38:56 UTC
(rev 13526)
@@ -325,9 +325,10 @@
* because the programmer using fgetpos and fsetpos will be setting
aside
* storage for fpos_t structres. Actually I tested using a byte array
and
* it is fairly evident that the fpos_t type is a long (in CRTDLL.DLL).
- * Perhaps an unsigned long? TODO?
+ * Perhaps an unsigned long? TODO? It's definitely a 64-bit number in
+ * MSVCRT however, and for now `long long' will do.
*/
-typedef long fpos_t;
+typedef long long fpos_t;
int fgetpos(FILE* fileGetPosition, fpos_t* pfpos);
int fsetpos(FILE* fileSetPosition, const fpos_t* pfpos);
Added cromwell's drivers into build/install process. Now we have two
alternatives: usbport/usbXhci or usbcore/ohci.sys. With time they will
be merged into one, or cromwell will be wasted and usbport/usbXhci will
be written from scratch.
Modified: trunk/reactos/drivers/usb/Makefile
_____
Modified: trunk/reactos/drivers/usb/Makefile
--- trunk/reactos/drivers/usb/Makefile 2005-02-12 23:11:10 UTC (rev
13519)
+++ trunk/reactos/drivers/usb/Makefile 2005-02-12 23:27:27 UTC (rev
13520)
@@ -6,7 +6,7 @@
include $(PATH_TO_TOP)/rules.mak
-DRIVERS = usbport miniport/usbuhci miniport/usbehci miniport/usbohci
usbhub usbd
+DRIVERS = usbport miniport/usbuhci miniport/usbehci miniport/usbohci
usbhub usbd cromwell
all: $(DRIVERS)
Sync to Wine-20050211
Alexandre Julliard <julliard(a)winehq.org>
- It makes no sense to export the dll entry point as stub.
Modified: trunk/reactos/lib/msimg32/msimg32.spec
Modified: trunk/reactos/lib/msimg32/msimg32_main.c
_____
Modified: trunk/reactos/lib/msimg32/msimg32.spec
--- trunk/reactos/lib/msimg32/msimg32.spec 2005-02-12 21:26:15 UTC
(rev 13516)
+++ trunk/reactos/lib/msimg32/msimg32.spec 2005-02-12 21:46:45 UTC
(rev 13517)
@@ -1,5 +1,5 @@
@ stdcall AlphaBlend(long long long long long long long long long long
long) gdi32.GdiAlphaBlend
-@ stub DllInitialize
+@ stdcall DllInitialize(long long ptr) DllMain
@ stdcall GradientFill(long ptr long ptr long long)
gdi32.GdiGradientFill
@ stdcall TransparentBlt(long long long long long long long long long
long long) gdi32.GdiTransparentBlt
@ stdcall vSetDdrawflag()
_____
Modified: trunk/reactos/lib/msimg32/msimg32_main.c
--- trunk/reactos/lib/msimg32/msimg32_main.c 2005-02-12 21:26:15 UTC
(rev 13516)
+++ trunk/reactos/lib/msimg32/msimg32_main.c 2005-02-12 21:46:45 UTC
(rev 13517)
@@ -26,6 +26,18 @@
WINE_DEFAULT_DEBUG_CHANNEL(msimg32);
+/**********************************************************************
*
+ * DllInitialize (MSIMG32.@)
+ *
+ * MSIMG32 initialisation routine.
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ if (reason == DLL_PROCESS_ATTACH) DisableThreadLibraryCalls( inst
);
+ return TRUE;
+}
+
+
/***********************************************************************
*******
* vSetDdrawflag (MSIMG32.@)
*/