summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-13 16:55:55 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:53:07 +0100
commit059fd8e704532aaa45601f3f14cfbecd491672dd (patch)
treef31d2e9ba34d762ff835ad0d4a4a1768fb220236 /malloc.c
parent6b0972d65bbd51275f93e75efff1274225f4f32c (diff)
downloadperl-059fd8e704532aaa45601f3f14cfbecd491672dd.tar.gz
malloc.c: simplify cpp conditionals
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c4
1 files changed, 1 insertions, 3 deletions
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 /* <unistd.h> usually takes care of this */
+#elif !defined(HAS_SBRK_PROTO) /* <unistd.h> usually takes care of this */
extern Malloc_t sbrk(int);
-# endif
#endif
#ifndef MIN_SBRK_FRAC1000 /* Backward compatibility */