From 059fd8e704532aaa45601f3f14cfbecd491672dd Mon Sep 17 00:00:00 2001 From: Aaron Crane Date: Fri, 13 Oct 2017 16:55:55 +0200 Subject: malloc.c: simplify cpp conditionals --- malloc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'malloc.c') diff --git a/malloc.c b/malloc.c index 0a0c8fba48..1809ab3b8d 100644 --- a/malloc.c +++ b/malloc.c @@ -822,10 +822,8 @@ static union overhead *nextf[NBUCKETS]; #ifdef USE_PERL_SBRK # define sbrk(a) Perl_sbrk(a) Malloc_t Perl_sbrk (int size); -#else -# ifndef HAS_SBRK_PROTO /* usually takes care of this */ +#elif !defined(HAS_SBRK_PROTO) /* usually takes care of this */ extern Malloc_t sbrk(int); -# endif #endif #ifndef MIN_SBRK_FRAC1000 /* Backward compatibility */ -- cgit v1.2.1