git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
63a4513
)
index-pack: fix compilation with NO_PTHREADS
author
Etienne Buira
<redacted>
Sat, 11 Oct 2014 14:42:07 +0000
(16:42 +0200)
committer
Junio C Hamano
<redacted>
Mon, 13 Oct 2014 19:33:30 +0000
(12:33 -0700)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/index-pack.c
patch
|
blob
|
history
diff --git
a/builtin/index-pack.c
b/builtin/index-pack.c
index 792c66ca5932638e11f2587f928a6b98c08e7854..a369f5535351645f15b08efb9d592be4257cdeff 100644
(file)
--- a/
builtin/index-pack.c
+++ b/
builtin/index-pack.c
@@
-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
git clone https://git.99rst.org/PROJECT