summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_sprintf.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-09-22 16:42:42 +0300
committerValentin Bartenev <vbart@nginx.com>2017-09-22 16:42:42 +0300
commit45c1d41f34031c26344832f92837f08c0dbfba04 (patch)
tree13dcfc887eb020a59b9d8090bfa70e66858d97ea /src/nxt_sprintf.c
parent6a78aedb7e6eef061bec4fc406fe930154b128fe (diff)
downloadunit-45c1d41f34031c26344832f92837f08c0dbfba04.tar.gz
unit-45c1d41f34031c26344832f92837f08c0dbfba04.tar.bz2
Removed fibers from compilation.
It's not used anyway, but breaks building with musl. This closes issue #5 on GitHub.
Diffstat (limited to '')
-rw-r--r--src/nxt_sprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_sprintf.c b/src/nxt_sprintf.c
index 4b77725f..933ce997 100644
--- a/src/nxt_sprintf.c
+++ b/src/nxt_sprintf.c
@@ -500,12 +500,12 @@ nxt_vsprintf(u_char *buf, u_char *end, const char *fmt, va_list args)
ui64 = (uint64_t) va_arg(args, nxt_tid_t);
sign = 0;
goto number;
-
+#if 0
case 'F':
ui64 = (uint64_t) va_arg(args, nxt_fid_t);
sign = 0;
goto number;
-
+#endif
case 'H':
ui64 = (uint64_t) (uintptr_t) va_arg(args, pthread_t);
spf.hex = HEXADECIMAL;