Jonathan Nieder wrote:
> Hi,
>
> Ramsay Jones wrote:
>
>> --- a/compat/nedmalloc/malloc.c.h
>> +++ b/compat/nedmalloc/malloc.c.h
>> @@ -484,6 +484,10 @@ MAX_RELEASE_CHECK_RATE default: 4095 unless not
>> HAVE_MMAP
>> #define DLMALLOC_VERSION 20804
>> #endif /* DLMALLOC_VERSION */
>>
>> +#if
Junio C Hamano wrote:
> Ramsay Jones writes:
>
>> On linux, when the build variable USE_NED_ALLOCATOR is set, gcc
>> issues the following warnings:
>>
>> In file included from compat/nedmalloc/nedmalloc.c:63:
>> .../malloc.c.h: In function 'mmap_resize':
>> .../malloc.c.h:3762: warnin
Hi,
Ramsay Jones wrote:
> --- a/compat/nedmalloc/malloc.c.h
> +++ b/compat/nedmalloc/malloc.c.h
> @@ -484,6 +484,10 @@ MAX_RELEASE_CHECK_RATE default: 4095 unless not
> HAVE_MMAP
> #define DLMALLOC_VERSION 20804
> #endif /* DLMALLOC_VERSION */
>
> +#if defined(linux)
> +#define _GNU_SOURCE
Ramsay Jones writes:
> On linux, when the build variable USE_NED_ALLOCATOR is set, gcc
> issues the following warnings:
>
> In file included from compat/nedmalloc/nedmalloc.c:63:
> .../malloc.c.h: In function 'mmap_resize':
> .../malloc.c.h:3762: warning: implicit declaration of funct
On linux, when the build variable USE_NED_ALLOCATOR is set, gcc
issues the following warnings:
In file included from compat/nedmalloc/nedmalloc.c:63:
.../malloc.c.h: In function 'mmap_resize':
.../malloc.c.h:3762: warning: implicit declaration of function 'mremap'
.../malloc.c.h:
5 matches
Mail list logo