summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorJesse Vincent <jesse@bestpractical.com>2009-08-01 19:42:50 +0100
committerJesse Vincent <jesse@bestpractical.com>2009-08-03 12:14:45 +0100
commitcd86ed9d430a95bb9cf370c699245e1b667c146d (patch)
tree94851f58db71d59caf0de5ae5b7af3c0499622c5 /malloc.c
parent1af1c0d6fc56624ceeee486b9d34f20643ac0ecd (diff)
downloadperl-cd86ed9d430a95bb9cf370c699245e1b667c146d.tar.gz
Remove the port to MiNT. It's a dead platform that hasn't had any love since 5.005
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/malloc.c b/malloc.c
index 7234801105..ade45d27f0 100644
--- a/malloc.c
+++ b/malloc.c
@@ -264,7 +264,7 @@
#define MIN_BUC_POW2 (sizeof(void*) > 4 ? 3 : 2) /* Allow for 4-byte arena. */
#define MIN_BUCKET (MIN_BUC_POW2 * BUCKETS_PER_POW2)
-#if !(defined(I286) || defined(atarist) || defined(__MINT__))
+#if !(defined(I286) || defined(atarist)
/* take 2k unless the block is bigger than that */
# define LOG_OF_MIN_ARENA 11
#else
@@ -552,7 +552,7 @@
#define u_short unsigned short
/* 286 and atarist like big chunks, which gives too much overhead. */
-#if (defined(RCHECK) || defined(I286) || defined(atarist) || defined(__MINT__)) && defined(PACK_MALLOC)
+#if (defined(RCHECK) || defined(I286) || defined(atarist) && defined(PACK_MALLOC)
# undef PACK_MALLOC
#endif
@@ -1734,7 +1734,7 @@ getpages(MEM_SIZE needed, int *nblksp, int bucket)
/* Second, check alignment. */
slack = 0;
-#if !defined(atarist) && !defined(__MINT__) /* on the atari we dont have to worry about this */
+#if !defined(atarist) /* on the atari we dont have to worry about this */
# ifndef I286 /* The sbrk(0) call on the I286 always returns the next segment */
/* WANTED_ALIGNMENT may be more than NEEDED_ALIGNMENT, but this may
improve performance of memory access. */
@@ -1743,7 +1743,7 @@ getpages(MEM_SIZE needed, int *nblksp, int bucket)
add += slack;
}
# endif
-#endif /* !atarist && !MINT */
+#endif /* !atarist */
if (add) {
DEBUG_m(PerlIO_printf(Perl_debug_log,