git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] fix compilation with --disable-pthreads

From
Etienne Buira <etienne.buira@gmail.com>
Date
Oct 11, 2014, 14:42 UTC
Message-ID
<d2df2f619967ea7ba9625868b9c77d79a1190665.1413038338.git.etienne.buira@gmail.com>
Signed-off-by: Etienne Buira <etienne.buira@gmail.com>
---
 builtin/index-pack.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index eebf1a8..0f88f4b 100644
--- 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
 
 
-- 
1.8.5.5
Next: Etienne Buira
Message 1 of 5 in “fix compilation with --disable-pthreads”
  1. 1/2 fix compilation with --disable-pthreadsEtienne Buira, Oct 11, 2014
  2. 2/2 Remove spurious 'no threads support' warningsEtienne Buira, Oct 11, 2014
  3. Junio C HamanoOct 13, 2014
  4. Etienne BuiraOct 14, 2014
  5. Junio C HamanoOct 13, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.