* include/getopt.h: Accommodate recent unfortunate newlib changes.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2006-01-05  Christopher Faylor  <cgf@timesys.com> | ||||||
|  |  | ||||||
|  | 	* include/getopt.h: Accommodate recent unfortunate newlib changes. | ||||||
|  |  | ||||||
| 2006-01-05  Christopher Faylor  <cgf@timesys.com> | 2006-01-05  Christopher Faylor  <cgf@timesys.com> | ||||||
|  |  | ||||||
| 	* cygtls.cc (_cygtls::remove): Don't output debugging info if this | 	* cygtls.cc (_cygtls::remove): Don't output debugging info if this | ||||||
|   | |||||||
| @@ -31,6 +31,9 @@ | |||||||
|  * SUCH DAMAGE. |  * SUCH DAMAGE. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
|  | #ifdef _COMPILING_NEWLIB | ||||||
|  | #include_next "getopt.h" | ||||||
|  | #else | ||||||
| #ifndef __GETOPT_H__ | #ifndef __GETOPT_H__ | ||||||
| #define __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 /* __GETOPT_LONG_H__ */ | ||||||
| #endif /* __UNISTD_GETOPT__ */ | #endif /* __UNISTD_GETOPT__ */ | ||||||
|  | #endif /*_INSIDE_NEWLIB*/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user