diff options
author | Damien Miller <djm@mindrot.org> | 2011-08-17 11:31:07 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-08-17 11:31:07 +1000 |
commit | 9c08312968c965aca19d21f08407e21f5824f8b4 (patch) | |
tree | cebfb1ce2a1e689141eeaf113f52064a086d9919 /openbsd-compat/bsd-cygwin_util.h | |
parent | a1226828add427f4ff29462b3153b1549d3b46a8 (diff) |
- (djm) [ openbsd-compat/bsd-cygwin_util.c openbsd-compat/bsd-cygwin_util.h]
binary_pipe is no longer required on Cygwin; patch from Corinna Vinschen
Diffstat (limited to 'openbsd-compat/bsd-cygwin_util.h')
-rw-r--r-- | openbsd-compat/bsd-cygwin_util.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h index 39b8eb788..48f64b740 100644 --- a/openbsd-compat/bsd-cygwin_util.h +++ b/openbsd-compat/bsd-cygwin_util.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* $Id: bsd-cygwin_util.h,v 1.12 2009/03/08 00:40:28 dtucker Exp $ */ | 1 | /* $Id: bsd-cygwin_util.h,v 1.13 2011/08/17 01:31:09 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001, Corinna Vinschen <vinschen@cygnus.com> | 4 | * Copyright (c) 2000, 2001, 2011 Corinna Vinschen <vinschen@redhat.com> |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions | 7 | * modification, are permitted provided that the following conditions |
@@ -41,13 +41,11 @@ | |||
41 | #include <io.h> | 41 | #include <io.h> |
42 | 42 | ||
43 | int binary_open(const char *, int , ...); | 43 | int binary_open(const char *, int , ...); |
44 | int binary_pipe(int fd[2]); | ||
45 | int check_ntsec(const char *); | 44 | int check_ntsec(const char *); |
46 | char **fetch_windows_environment(void); | 45 | char **fetch_windows_environment(void); |
47 | void free_windows_environment(char **); | 46 | void free_windows_environment(char **); |
48 | 47 | ||
49 | #define open binary_open | 48 | #define open binary_open |
50 | #define pipe binary_pipe | ||
51 | 49 | ||
52 | #endif /* HAVE_CYGWIN */ | 50 | #endif /* HAVE_CYGWIN */ |
53 | 51 | ||