summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-17 19:26:08 (GMT)
committer Chris Young <chris@unsatisfactorysoftware.co.uk>2016-11-17 19:26:08 (GMT)
commit387fd203936c7623ed9a2a503eef3bb47418dffc (patch)
tree28c392135897e86e49745b1ae3686f9dd66fb85a
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.
-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 b251448..d5d6c13 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>