summaryrefslogtreecommitdiff
path: root/lib/relocatable.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-08 11:35:40 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-08 13:31:42 -0700
commitef11bf40fdc66a337b26c40f02d0aa02faf63e38 (patch)
tree150a524acb273111f059ad6c0d4a80feb9b1ec52 /lib/relocatable.c
parentbb9960c4d5c6829389dc8e4d484310a07f34ac78 (diff)
downloadgnulib-ef11bf40fdc66a337b26c40f02d0aa02faf63e38.tar.gz
* lib/relocatable.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
Diffstat (limited to 'lib/relocatable.c')
-rw-r--r--lib/relocatable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/relocatable.c b/lib/relocatable.c
index cbff85fa62..a7bbd99dca 100644
--- a/lib/relocatable.c
+++ b/lib/relocatable.c
@@ -25,6 +25,7 @@
# define _GNU_SOURCE 1
#endif
+#define _GL_USE_STDLIB_ALLOC 1
#include <config.h>
/* Specification. */
@@ -86,9 +87,6 @@
# define FILE_SYSTEM_PREFIX_LEN(P) 0
#endif
-/* Use the system functions, not the gnulib overrides in this file. */
-#undef malloc
-
/* Original installation prefix. */
static char *orig_prefix;
static size_t orig_prefix_len;