[PATCH] w32api (some general, some Watcom related)
Danny Smith
danny_r_smith_2001@yahoo.co.nz
Sat Jul 20 17:29:00 GMT 2002
> 2002-07-17 Bart Oldeman <bart.oldeman@btinternet.com>
>
> * include/shlobj.h (FCIDM_MENU_FAVORITES): remove bogus character.
> * include/winsock2.h (struct sockaddr): use __int64 instead of
> long long
> * include/kernel32.c (GetCurrentFiber): Watcom does not need
> external *Fiber library functions.
> * include/kernel32.c (GetFiberData): likewise
>
I have checked in above changes, but not this:
> * include/windef.h: (PACKED) Watcom compatible #define for
> structure packing
> * include/wincon.h (KEY_EVENT_RECORD): use the above
My tests indicate that the packed attribute is not necessary for
KEY_EVENT_RECORD (the default alignment is same as PACKED) and could be
removed. Bart indicates that it is not necesssary for Watcom either. Since the
PACKED define is used nowhere else in w32api, I would be inclined to remove it
completely from windef.h, but that may break some user code that depends on
it..., so I'll leave it alone.
Danny
http://www.sold.com.au - SOLD.com.au
- Find yourself a bargain!
More information about the Cygwin-patches
mailing list