summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-08-30 20:25:12 -0300
committerBrian Fraser <fraserbn@gmail.com>2013-09-21 08:47:39 -0300
commit39c0d7ee897c13cceed4e2b5712cd4e88315336a (patch)
tree2be65d7668376016d49e41d6e32f3c9902715ebc /malloc.c
parent25d5035bd3a23a0e15661d46ad1adbbd05249de0 (diff)
downloadperl-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.c11
1 files changed, 1 insertions, 10 deletions
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