diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-10-07 18:12:03 +0200 |
---|---|---|
committer | Aliaksey Kandratsenka <alkondratenko@gmail.com> | 2018-10-07 11:22:59 -0700 |
commit | e9ab4c53041ac62feefbbb076d326e9a77dd1567 (patch) | |
tree | b70f06f3782c75c4acaef9620ccc31300f86857f /configure.ac | |
parent | 5eec9d0ae396aa90ebcb5756dfd0f3d101667490 (diff) | |
download | gperftools-e9ab4c53041ac62feefbbb076d326e9a77dd1567.tar.gz |
undef mmap64 function
mmap64 can already been defined and as a result the following error is
raised:
In file included from src/malloc_hook.cc:686:0:
src/malloc_hook_mmap_linux.h: In function ‘void* mmap(void*, size_t, int, int, int, off_t)’:
src/malloc_hook_mmap_linux.h:173:18: error: redefinition of ‘void* mmap(void*, size_t, int, int, int, off_t)’
extern "C" void* mmap(void *start, size_t length, int prot, int flags,
^~~~
In file included from src/malloc_hook.cc:41:0:
src/malloc_hook_mmap_linux.h:159:18: note: ‘void* mmap(void*, size_t, int, int, int, off_t)’ previously defined here
extern "C" void* mmap64(void *start, size_t length, int prot, int flags,
^
Makefile:4874: recipe for target 'src/libtcmalloc_minimal_internal_la-malloc_hook.lo' failed
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions