* include/cygwin/stdlib.h: Guard compilation of *unsetenv* in newlib.

This commit is contained in:
Christopher Faylor 2005-12-07 15:17:43 +00:00
parent 1094df9f2d
commit 383840a908
2 changed files with 9 additions and 0 deletions

View File

@ -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>
* exceptions.cc (_cygtls::handle_exceptions): In case of a

View File

@ -28,6 +28,11 @@ int grantpt (int);
int unlockpt (int);
#endif /*__STRICT_ANSI__*/
#ifdef _COMPILING_NEWLIB
#define unsetenv UNUSED_unsetenv
#define _unsetenv_r UNUSED__unsetenv_r
#endif
#undef _malloc_r
#define _malloc_r(r, s) malloc (s)
#undef _free_r