зеркало из https://github.com/microsoft/git.git
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: Etienne Buira <etienne.buira@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
63a45136a3
Коммит
e0e21283b6
|
@ -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
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче