16 lines
368 B
Plaintext
16 lines
368 B
Plaintext
$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);
|