From 45c1d41f34031c26344832f92837f08c0dbfba04 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Fri, 22 Sep 2017 16:42:42 +0300 Subject: Removed fibers from compilation. It's not used anyway, but breaks building with musl. This closes issue #5 on GitHub. --- src/nxt_thread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nxt_thread.h') diff --git a/src/nxt_thread.h b/src/nxt_thread.h index 4a71a5a1..2ebc331d 100644 --- a/src/nxt_thread.h +++ b/src/nxt_thread.h @@ -159,11 +159,13 @@ struct nxt_thread_s { nxt_event_engine_t *engine; void *data; +#if 0 /* * Although pointer to a current fiber should be a property of * engine->fibers, its placement here eliminates 2 memory accesses. */ nxt_fiber_t *fiber; +#endif nxt_random_t random; }; -- cgit