PATCH - building cabinet.dll with Mingw
Steven Edwards
steven_ed4153 at yahoo.com
Tue Aug 19 01:17:13 CDT 2003
the w32api headers dont know what UINT16 is. untested on *nix.
Changelog: cabinet.h
Change UINT16 to unsigned short for porting.
Index: cabinet.h
===================================================================
RCS file: /home/wine/wine/dlls/cabinet/cabinet.h,v
retrieving revision 1.8
diff -u -r1.8 cabinet.h
--- cabinet.h 30 Jul 2003 03:45:46 -0000 1.8
+++ cabinet.h 19 Aug 2003 06:13:47 -0000
@@ -32,12 +32,12 @@
#define CAB_SEARCH_SIZE (32*1024)
-typedef unsigned char cab_UBYTE; /* 8 bits */
-typedef UINT16 cab_UWORD; /* 16 bits */
-typedef UINT32 cab_ULONG; /* 32 bits */
-typedef INT32 cab_LONG; /* 32 bits */
+typedef unsigned char cab_UBYTE; /* 8 bits */
+typedef unsigned short cab_UWORD; /* 16 bits */
+typedef UINT32 cab_ULONG; /* 32 bits */
+typedef INT32 cab_LONG; /* 32 bits */
-typedef UINT32 cab_off_t;
+typedef UINT32 cab_off_t;
/* number of bits in a ULONG */
#ifndef CHAR_BIT
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the wine-patches
mailing list