From d69257a1a494f979f31f3d8bb309f77ac2eb7031 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 22 Jun 2000 21:51:48 +0000 Subject: [PATCH] * Makefile.in: Autogenerate cygwin.def when appropriate. * include/sys/cygwin.h: Correct prototype. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/Makefile.in | 5 ++++- winsup/cygwin/include/sys/cygwin.h | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 49df1f0dd..f9cb8912a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 22 17:50:59 2000 Christopher Faylor + + * Makefile.in: Autogenerate cygwin.def when appropriate. + * include/sys/cygwin.h: Correct prototype. + Thu Jun 22 17:05:04 2000 Christopher Faylor * include/sys/cygwin.h: Don't define parts of this file that rely on diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index 4431bab55..97f568796 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -165,7 +165,7 @@ install: all $(install_host) $(install_target) install_host: clean: - -rm -f *.o *.dll *.a *.exp junk *.base *.def version.cc regexp/*.o winver_stamp *.exe + -rm -f *.o *.dll *.a *.exp junk *.base version.cc regexp/*.o winver_stamp *.exe maintainer-clean realclean: clean @echo "This command is intended for maintainers to use;" @@ -269,6 +269,9 @@ check: testsuite/site.exp Makefile: cygwin.din +$(DEF_FILE): cygwin.din config.status + $(SHELL) config.status + # .h file dependencies # This may be overkill, but it's better than the previous situation. # As files/dependencies are added and removed from Cygwin, please keep diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index d9932ba3c..cd563ff70 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -41,8 +41,8 @@ extern HANDLE cygwin_logon_user (const struct passwd *, const char *); extern void cygwin_set_impersonation_token (const HANDLE); /* included if is included */ -extern int cygwin32_attach_handle_to_fd (char *, int, HANDLE, int, int); -extern int cygwin_attach_handle_to_fd (char *, int, HANDLE, mode_t, unsigned); +extern int cygwin32_attach_handle_to_fd (char *, int, HANDLE, mode_t, DWORD); +extern int cygwin_attach_handle_to_fd (char *, int, HANDLE, mode_t, DWORD); #include