diff options
author | DJ Delorie <dj@redhat.com> | 2000-07-27 17:30:51 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2000-07-27 17:30:51 +0000 |
commit | d0b178fe3a3493016bb3448c2cf5eb214a4d4d06 (patch) | |
tree | 1d12d7e5b8356385df82253134e9eb7dc686aaab /winsup/cygwin/winsup.h | |
parent | bf7be721b84e33cc846dbcbff1be0a3c38ad4bb8 (diff) | |
download | cygnal-d0b178fe3a3493016bb3448c2cf5eb214a4d4d06.tar.gz cygnal-d0b178fe3a3493016bb3448c2cf5eb214a4d4d06.tar.bz2 cygnal-d0b178fe3a3493016bb3448c2cf5eb214a4d4d06.zip |
* 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
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index cb4f5b806..35545ef4b 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -50,8 +50,24 @@ __asm__ __volatile__( return __res; } +#define WIN32_LEAN_AND_MEAN 1 +#define _WINGDI_H +#define _WINUSER_H +#define _WINNLS_H +#define _WINVER_H +#define _WINNETWK_H +#define _WINSVC_H #include <windows.h> #include <wincrypt.h> +#undef _WINGDI_H +#undef _WINUSER_H +#undef _WINNLS_H +#undef _WINVER_H +#undef _WINNETWK_H +#undef _WINSVC_H + +/* The one function we use from winuser.h most of the time */ +extern "C" DWORD WINAPI GetLastError (void); /* Used for runtime OS check/decisions. */ enum os_type {winNT = 1, win95, win98, win32s, unknown}; |