Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-08-30 05:57:37 +0400
committerChristopher Faylor <me@cgf.cx>2010-08-30 05:57:37 +0400
commit92117cb21f54115367528220dbb85bed8d7b72b4 (patch)
tree33bc5aea3bb9bd4f638268ad272406a3401bf43e /winsup/cygwin/winsup.h
parent552bc28f4650ccd83757ebee28e24ca8237829e5 (diff)
* winlean.h: New file.
* automode.c: Use "winlean.h". * binmode.c: Ditto. * gmon.c: Ditto. * textmode.c: Ditto. * textreadmode.c: Ditto. * winsup.h: Ditto. * lib/cygwin_attach_dll.c: Ditto. * lib/dll_main.cc: Ditto. * profile.c: Ditto. * crt0.c: Ditto. Cleanup ancient cruft. Add dummy calls to cygwin_premain*. * include/sys/cygwin.h: Remove old stuff. Move premain declarations nearer to other cygwin-specific function declarations. * globals.cc: Add comment.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index efcdf6dee..3ffd3b703 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -81,24 +81,7 @@ extern const char case_folded_upper[];
#define cfree newlib_cfree_dont_use
#endif
-#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>
-#include <lmcons.h>
-#include <ntdef.h>
-#undef _WINGDI_H
-#undef _WINUSER_H
-#undef _WINNLS_H
-#undef _WINVER_H
-#undef _WINNETWK_H
-#undef _WINSVC_H
-
+#include "winlean.h"
#include "wincap.h"
/* The one function we use from winuser.h most of the time */