diff options
author | Brian Fraser <fraserbn@gmail.com> | 2013-08-30 20:25:12 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2013-09-21 08:47:39 -0300 |
commit | 39c0d7ee897c13cceed4e2b5712cd4e88315336a (patch) | |
tree | 2be65d7668376016d49e41d6e32f3c9902715ebc /malloc.c | |
parent | 25d5035bd3a23a0e15661d46ad1adbbd05249de0 (diff) | |
download | perl-39c0d7ee897c13cceed4e2b5712cd4e88315336a.tar.gz |
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.
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -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 |