projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strerror_r: Fix test failure on mingw.
[gnulib.git]
/
lib
/
relocatable.c
diff --git
a/lib/relocatable.c
b/lib/relocatable.c
index
cbff85f
..
a7bbd99
100644
(file)
--- a/
lib/relocatable.c
+++ b/
lib/relocatable.c
@@
-25,6
+25,7
@@
# define _GNU_SOURCE 1
#endif
# define _GNU_SOURCE 1
#endif
+#define _GL_USE_STDLIB_ALLOC 1
#include <config.h>
/* Specification. */
#include <config.h>
/* Specification. */
@@
-86,9
+87,6
@@
# define FILE_SYSTEM_PREFIX_LEN(P) 0
#endif
# 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;
/* Original installation prefix. */
static char *orig_prefix;
static size_t orig_prefix_len;