Earnie Boyd
91874e20bf
* include/windows.h: Define _ANONYMOUS_STRUCT and _ANONYMOUS_UNION
...
as __extenstion__ when appropriate.
* include/mmsystem.h: Mark anonymous structs and unions as
__extension__ to prevent compiler warning when invoked with
-pedantic
* include/oaidl.h: Ditto.
* include/objidl.h: Ditto.
* include/olectl.h: Ditto.
* include/prsht.h: Ditto.
* include/shlobj.h: Ditto.
* include/winbase.h: Ditto.
* include/winnt.h: Ditto.
* include/wtypes.h: Ditto.
2001-04-17 12:58:06 +00:00
Earnie Boyd
eae0943a1f
* include/windows.h (#include <winsock.h>): Include <winsock2.h>
...
instead if (_WIN32_WINNT >= 0x0400)&&(__W32API_MAJOR_VERSION > 0).
2001-04-12 01:11:41 +00:00
Christopher Faylor
dac9c6045f
* include/winsock.h (_SYS_TYPES_H macro guard for int types): Remove; use only
...
_BSDTYPES_DEFINED macro now defined in newlib sys/types.h.
(SYS_TYPES_H macro guard for fd_set): Replace with_SYS_TYPES_FD_SET macro now
defined in newlib sys/types.h. Emit warning if defined.
* include/winsock2.h: Ditto.
* include/windows.h (Win32_Winsock): Replace with new macros __USE_W32_SOCKETS
and warn of deprecation.
2001-03-20 19:27:37 +00:00
DJ Delorie
d0b178fe3a
* testsuite/winsup.api/winsup.exp: ignore stdout by default
...
* testsuite/winsup.api/crlf.c: non-verbose by default
* winsup.h: prune out windows headers we don't normally need
* assert.cc: add wingdi.h and winuser.h
* fhandler_console.cc: ditto
* fhandler_windows.cc: ditto
* select.cc: ditto
* spawn.cc: ditto
* strace.cc: ditto
* tty.cc: ditto
* window.cc: ditto
* hinfo.cc: add winsock.h
* syscalls.cc: add winnls.h
* uinfo.cc: ditto
* include/windows.h: optimize non-inclusion of repeat headers
2000-07-27 17:30:51 +00:00
Christopher Faylor
1fd5e000ac
import winsup-2000-02-17 snapshot
2000-02-17 19:38:33 +00:00