projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lib/setenv.c (_GL_USE_STDLIB_ALLOC, malloc, realloc): Likewise.
[gnulib.git]
/
lib
/
setenv.c
diff --git
a/lib/setenv.c
b/lib/setenv.c
index
7c06192
..
173d95f
100644
(file)
--- a/
lib/setenv.c
+++ b/
lib/setenv.c
@@
-15,6
+15,7
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#if !_LIBC
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#if !_LIBC
+# define _GL_USE_STDLIB_ALLOC 1
# include <config.h>
#endif
# include <config.h>
#endif
@@
-64,10
+65,6
@@
__libc_lock_define_initialized (static, envlock)
# define clearenv __clearenv
# define tfind __tfind
# define tsearch __tsearch
# define clearenv __clearenv
# define tfind __tfind
# define tsearch __tsearch
-#else
-/* Use the system functions, not the gnulib overrides in this file. */
-# undef malloc
-# undef realloc
#endif
/* In the GNU C library implementation we try to be more clever and
#endif
/* In the GNU C library implementation we try to be more clever and