提交 e0e21283 编写于 作者: E Etienne Buira 提交者: Junio C Hamano

index-pack: fix compilation with NO_PTHREADS

type_cas_lock/unlock() should be defined as no-op for NO_PTHREADS
build, just like all the other locking primitives.
Signed-off-by: NEtienne Buira <etienne.buira@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 63a45136
......@@ -185,6 +185,9 @@ static void cleanup_thread(void)
#define deepest_delta_lock()
#define deepest_delta_unlock()
#define type_cas_lock()
#define type_cas_unlock()
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册