diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-13 16:55:55 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:53:07 +0100 |
commit | 059fd8e704532aaa45601f3f14cfbecd491672dd (patch) | |
tree | f31d2e9ba34d762ff835ad0d4a4a1768fb220236 /malloc.c | |
parent | 6b0972d65bbd51275f93e75efff1274225f4f32c (diff) | |
download | perl-059fd8e704532aaa45601f3f14cfbecd491672dd.tar.gz |
malloc.c: simplify cpp conditionals
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 */ |