From 39c0d7ee897c13cceed4e2b5712cd4e88315336a Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Fri, 30 Aug 2013 20:25:12 -0300 Subject: Remove HAS_64K_LIMIT This was only defined for MSDOS if not using DJGPP. We've long since dropped support for that, so this define and related code can go. --- malloc.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'malloc.c') diff --git a/malloc.c b/malloc.c index a0a762e9ac..79a8c89107 100644 --- a/malloc.c +++ b/malloc.c @@ -755,16 +755,7 @@ static const char bucket_of[] = # define POW2_OPTIMIZE_SURPLUS(bucket) 0 #endif /* !TWO_POT_OPTIMIZE */ -#ifdef HAS_64K_LIMIT -# define BARK_64K_LIMIT(what,nbytes,size) \ - if (nbytes > 0xffff) { \ - PerlIO_printf(PerlIO_stderr(), \ - "%s too large: %lx\n", what, size); \ - my_exit(1); \ - } -#else /* !HAS_64K_LIMIT */ -# define BARK_64K_LIMIT(what,nbytes,size) -#endif /* !HAS_64K_LIMIT */ +#define BARK_64K_LIMIT(what,nbytes,size) #ifndef MIN_SBRK # define MIN_SBRK 2048 -- cgit v1.2.1