summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-17 19:26:08 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-17 19:26:08 +0000
commit387fd203936c7623ed9a2a503eef3bb47418dffc (patch)
tree28c392135897e86e49745b1ae3686f9dd66fb85a /frontends
parent71d3e7b4ca25f08eb97e93edf4740282d8475d25 (diff)
downloadnetsurf-387fd203936c7623ed9a2a503eef3bb47418dffc.tar.gz
netsurf-387fd203936c7623ed9a2a503eef3bb47418dffc.tar.bz2
Enable slab allocator on OS3
...if we have a sufficiently new (experimental) version of clib2.
Diffstat (limited to 'frontends')
-rw-r--r--frontends/amiga/os3support.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/amiga/os3support.c b/frontends/amiga/os3support.c
index b251448a6..d5d6c13bc 100644
--- a/frontends/amiga/os3support.c
+++ b/frontends/amiga/os3support.c
@@ -17,10 +17,12 @@
*/
/** \file
- * Minimal compatibility header for AmigaOS 3
+ * Compatibility functions for AmigaOS 3
*/
#ifndef __amigaos4__
+ULONG __slab_max_size = 4096; /* Enable clib2's slab allocator */
+
#include "os3support.h"
#include <inttypes.h>