|
From: Danny S. <dan...@us...> - 2001-11-05 00:27:11
|
Update of /cvsroot/mingw/w32api In directory usw-pr-cvs1:/tmp/cvs-serv27808/w32api Modified Files: ChangeLog Log Message: * include/windef.h (DECLSPEC_NORTEURN): Add an empty version for Watcom. (DECLARE_STDCALL_P): Use it to add __stdcall decoration for functions of the form 'type * function(...)' in a way compatible with both Watcom and GCC. * include/rpcdcep.h (I_RpcAllocate): Use DECLARE_STDCALL_P. * include/rpcproxy.h (CInterfaceProxyVtbl): Do not declare zero-sized arrays for Watcom. Mark as __extension for __GNUC__. * include/windows.h: Watcom can use anonymous structs/unions. * include/winnt.h: Watcom can use 64 bit ints. (GetCurrentFiber): Add another inline definition using Watcom inline assembly syntax. (GetFiberData): Likewise. * include/winsock.h (inet_ntoa): Use DECLARE_STDCALL_P. (gethostbyname): Likewise. (gethostbyaddr}: Likewise. (getservbyport}: Likewise. (getservbyname}: Likewise. (getprotobynumber}: Likewise. (getprotobyname}: Likewise. * include/winsock2.h (inet_ntoa): Use DECLARE_STDCALL_P. (gethostbyname}: Likewise. (gethostbyaddr}: Likewise. (getservbyport}: Likewise. (getservbyname}: Likewise. (getprotobynumber}: Likewise. (getprotobyname}: Likewise. * lib/diinut.c: Correction for Watcom. * lib/kernel32.c (GetCurrentFiber): Add another definition using Watcom inline assembly syntax. (GetFiberData): Likewise. * lib/scrnsave.c (WinMain): Add break after default: clause. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/w32api/ChangeLog,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** ChangeLog 2001/11/04 00:30:25 1.60 --- ChangeLog 2001/11/05 00:27:06 1.61 *************** *** 1,2 **** --- 1,38 ---- + 2001-11-05 Mattia Barbon <mb...@ds...> + + * include/windef.h (DECLSPEC_NORTEURN): Add an empty version + for Watcom. + (DECLARE_STDCALL_P): Use it to add __stdcall decoration for + functions of the form 'type * function(...)' in a way compatible + with both Watcom and GCC. + * include/rpcdcep.h (I_RpcAllocate): Use DECLARE_STDCALL_P. + * include/rpcproxy.h (CInterfaceProxyVtbl): Do not declare + zero-sized arrays for Watcom. Mark as __extension for __GNUC__. + * include/windows.h: Watcom can use anonymous structs/unions. + * include/winnt.h: Watcom can use 64 bit ints. + (GetCurrentFiber): Add another inline definition using + Watcom inline assembly syntax. + (GetFiberData): Likewise. + * include/winsock.h (inet_ntoa): Use DECLARE_STDCALL_P. + (gethostbyname): Likewise. + (gethostbyaddr}: Likewise. + (getservbyport}: Likewise. + (getservbyname}: Likewise. + (getprotobynumber}: Likewise. + (getprotobyname}: Likewise. + * include/winsock2.h (inet_ntoa): Use DECLARE_STDCALL_P. + (gethostbyname}: Likewise. + (gethostbyaddr}: Likewise. + (getservbyport}: Likewise. + (getservbyname}: Likewise. + (getprotobynumber}: Likewise. + (getprotobyname}: Likewise. + * lib/diinut.c: Correction for Watcom. + * lib/kernel32.c (GetCurrentFiber): Add another definition + using Watcom inline assembly syntax. + (GetFiberData): Likewise. + * lib/scrnsave.c (WinMain): Add break after default: + clause. + 2001-11-04 "stefan" <st...@lk...> |