2013-09-26 17:14:40 +02:00

16 lines
450 B
Plaintext

$NetBSD: patch-ao,v 1.2 2011/04/14 19:34:09 asau Exp $
--- erts/emulator/hipe/hipe_sparc.c.orig 2010-06-24 07:26:50.000000000 +0300
+++ erts/emulator/hipe/hipe_sparc.c 2010-06-24 07:27:25.000000000 +0300
@@ -130,6 +130,10 @@
#define ALLOC_CODE_STATS(X) do{}while(0)
#endif
+#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
static void morecore(unsigned int alloc_bytes)
{
unsigned int map_bytes;