* include/cygwin/stdlib.h: Guard compilation of *unsetenv* in newlib.
This commit is contained in:
parent
1094df9f2d
commit
383840a908
|
@ -1,3 +1,7 @@
|
||||||
|
2005-12-07 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* include/cygwin/stdlib.h: Guard compilation of *unsetenv* in newlib.
|
||||||
|
|
||||||
2005-12-07 Corinna Vinschen <corinna@vinschen.de>
|
2005-12-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* exceptions.cc (_cygtls::handle_exceptions): In case of a
|
* exceptions.cc (_cygtls::handle_exceptions): In case of a
|
||||||
|
|
|
@ -28,6 +28,11 @@ int grantpt (int);
|
||||||
int unlockpt (int);
|
int unlockpt (int);
|
||||||
#endif /*__STRICT_ANSI__*/
|
#endif /*__STRICT_ANSI__*/
|
||||||
|
|
||||||
|
#ifdef _COMPILING_NEWLIB
|
||||||
|
#define unsetenv UNUSED_unsetenv
|
||||||
|
#define _unsetenv_r UNUSED__unsetenv_r
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef _malloc_r
|
#undef _malloc_r
|
||||||
#define _malloc_r(r, s) malloc (s)
|
#define _malloc_r(r, s) malloc (s)
|
||||||
#undef _free_r
|
#undef _free_r
|
||||||
|
|
Loading…
Reference in New Issue