summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/lib/crt0.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-07-30 04:43:22 +0000
committerChristopher Faylor <me@cgf.cx>2012-07-30 04:43:22 +0000
commit7d8b0c8447eebf22edd8932b3ab39ecefae3cd6b (patch)
treed05c043d2b07b5632e91b2c3088c2878260f4351 /winsup/cygwin/lib/crt0.h
parent413ce08289ece5d31539c79d5e079baff6e32bdc (diff)
downloadcygnal-7d8b0c8447eebf22edd8932b3ab39ecefae3cd6b.tar.gz
cygnal-7d8b0c8447eebf22edd8932b3ab39ecefae3cd6b.tar.bz2
cygnal-7d8b0c8447eebf22edd8932b3ab39ecefae3cd6b.zip
* 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/lib/crt0.h')
-rw-r--r--winsup/cygwin/lib/crt0.h2
1 files changed, 1 insertions, 1 deletions
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 *);