* Makefile.in: Autogenerate cygwin.def when appropriate.

* include/sys/cygwin.h: Correct prototype.
This commit is contained in:
Christopher Faylor 2000-06-22 21:51:48 +00:00
parent d7cea2d3eb
commit d69257a1a4
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Thu Jun 22 17:50:59 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in: Autogenerate cygwin.def when appropriate.
* include/sys/cygwin.h: Correct prototype.
Thu Jun 22 17:05:04 2000 Christopher Faylor <cgf@cygnus.com>
* include/sys/cygwin.h: Don't define parts of this file that rely on

View File

@ -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

View File

@ -41,8 +41,8 @@ extern HANDLE cygwin_logon_user (const struct passwd *, const char *);
extern void cygwin_set_impersonation_token (const HANDLE);
/* included if <windows.h> 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 <sys/resource.h>