blob: c0183dd7d382966bbfdc0c3d1d83cefaa1e4545c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ab,v 1.2 2012/08/20 11:34:59 ryoon Exp $
--- src/coroutine_ucontext.c.orig 2012-07-12 08:37:05.000000000 +0000
+++ src/coroutine_ucontext.c
@@ -26,6 +26,10 @@
#include <stdlib.h>
#include "coroutine.h"
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
int coroutine_release(struct coroutine *co)
{
return cc_release(&co->cc);
|