summaryrefslogtreecommitdiff
path: root/frontends/amiga/memory.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-19 16:12:20 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-19 16:12:20 +0000
commit4b1b79582c5de530100b4ddb909163a6fb9b23c8 (patch)
treeeb3b8770a4ab8f6bda79bb78689384e2f527dcc0 /frontends/amiga/memory.c
parent6951d2327b0f0b6999f66452d5c38d74136cdb12 (diff)
downloadnetsurf-4b1b79582c5de530100b4ddb909163a6fb9b23c8.tar.gz
netsurf-4b1b79582c5de530100b4ddb909163a6fb9b23c8.tar.bz2
Move slab size def into memory.c
Diffstat (limited to 'frontends/amiga/memory.c')
-rwxr-xr-xfrontends/amiga/memory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/amiga/memory.c b/frontends/amiga/memory.c
index a77d0cc47..874f8521e 100755
--- a/frontends/amiga/memory.c
+++ b/frontends/amiga/memory.c
@@ -21,6 +21,10 @@
#include "amiga/memory.h"
+#ifndef __amigaos4__
+ULONG __slab_max_size = 8192; /* Enable clib2's slab allocator */
+#endif
+
void *ami_misc_allocvec_clear(int size, UBYTE value)
{
#ifdef __amigaos4__