mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
16 lines
450 B
Plaintext
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;
|