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>2012-07-30 08:43:22 +0400
committerChristopher Faylor <me@cgf.cx>2012-07-30 08:43:22 +0400
commit7d8b0c8447eebf22edd8932b3ab39ecefae3cd6b (patch)
treed05c043d2b07b5632e91b2c3088c2878260f4351 /winsup/cygwin
parent413ce08289ece5d31539c79d5e079baff6e32bdc (diff)
* Makefile.common (CFLAGS_COMMON): Add temporary define to work around w32api
problem. * cygwin/winlean.h: Define constant which will be needed eventually. Remove hack in favor of another hack. * cygwin/lib/crt0.h: Use "winlean.h".
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/lib/crt0.h2
-rw-r--r--winsup/cygwin/winlean.h3
3 files changed, 9 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 53743163e..81d0989d8 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,11 @@
2012-07-30 Christopher Faylor <me.cygwin2012@cgf.cx>
+ * winlean.h: Define constant which will be needed eventually. Remove
+ hack in favor of another hack.
+ * lib/crt0.h: Use "winlean.h".
+
+2012-07-30 Christopher Faylor <me.cygwin2012@cgf.cx>
+
* winlean.h: Add temporary define.
* winsup.h: Remove ancient debugging defines.
diff --git a/winsup/cygwin/lib/crt0.h b/winsup/cygwin/lib/crt0.h
index 461ea9b2e..878db05ed 100644
--- a/winsup/cygwin/lib/crt0.h
+++ b/winsup/cygwin/lib/crt0.h
@@ -12,7 +12,7 @@ details. */
extern "C" {
#endif
-#include <windows.h>
+#include "winlean.h"
struct per_process;
typedef int (*MainFunc) (int argc, char *argv[], char **env);
int __stdcall _cygwin_crt0_common (MainFunc, struct per_process *);
diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h
index 8779711ce..aa092ee53 100644
--- a/winsup/cygwin/winlean.h
+++ b/winsup/cygwin/winlean.h
@@ -34,7 +34,8 @@ details. */
#define _WINMM_
#define WINIMPM
#define WINSOCK_API_LINKAGE
-#define _SDKDDKVER_H /* temporary until sdkddkver.h problems are worked out */
+#define NTDDI_VERSION 0x6020000 /* Probably should just be derived from our
+ _WIN32_WINNT setting in winsup.h */
/* Windows headers define a couple of annoyingly intrusive macros for the
sole purpose of inline documentation. Since they are defined without