diff options
author | Christopher Faylor <me@cgf.cx> | 2006-01-05 17:35:14 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-01-05 17:35:14 +0000 |
commit | b39b8c14fa6484710af9b1d9bef286f15581d1e5 (patch) | |
tree | 9bde20986bc4c44a79c68722a235b5f9869abe60 | |
parent | 4cf4fd4d1c413ac782504183ec614aed0ed68fb6 (diff) | |
download | cygnal-b39b8c14fa6484710af9b1d9bef286f15581d1e5.tar.gz cygnal-b39b8c14fa6484710af9b1d9bef286f15581d1e5.tar.bz2 cygnal-b39b8c14fa6484710af9b1d9bef286f15581d1e5.zip |
* include/getopt.h: Accommodate recent unfortunate newlib changes.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/getopt.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 4202ca008..ff80caf04 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2006-01-05 Christopher Faylor <cgf@timesys.com> + * include/getopt.h: Accommodate recent unfortunate newlib changes. + +2006-01-05 Christopher Faylor <cgf@timesys.com> + * cygtls.cc (_cygtls::remove): Don't output debugging info if this isn't a cygwin thread. * sigproc.cc (sigproc_init): Move clearing of sync_startup here to diff --git a/winsup/cygwin/include/getopt.h b/winsup/cygwin/include/getopt.h index ba095ba2f..1efff1ca1 100644 --- a/winsup/cygwin/include/getopt.h +++ b/winsup/cygwin/include/getopt.h @@ -31,6 +31,9 @@ * SUCH DAMAGE. */ +#ifdef _COMPILING_NEWLIB +#include_next "getopt.h" +#else #ifndef __GETOPT_H__ #define __GETOPT_H__ @@ -84,3 +87,4 @@ int getopt_long (int, char *const *, const char *, const struct option *, int *) #endif /* __GETOPT_LONG_H__ */ #endif /* __UNISTD_GETOPT__ */ +#endif /*_INSIDE_NEWLIB*/ |