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

[PATCH 1/2] Fix MSVC build

From
Peter Harris <pharris@opentext.com>
Date
Jul 5, 2010, 19:41 UTC
Message-ID
<1278358897-488-1-git-send-email-pharris@opentext.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
---
 compat/mingw.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/compat/mingw.h b/compat/mingw.h
index 8104039..08fea02 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -14,11 +14,13 @@ typedef int uid_t;
 #define S_ISSOCK(x) 0
 
 #ifndef _STAT_H_
+#ifndef S_IRUSR
 #define S_IRUSR 0
 #define S_IWUSR 0
 #define S_IXUSR 0
 #define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR)
 #endif
+#endif
 #define S_IRGRP 0
 #define S_IWGRP 0
 #define S_IXGRP 0
-- 
1.7.1.msysgit.0.4.gea744.MSVC
Next: Peter Harris
Message 1 of 4 in “Fix MSVC build”
  1. 1/2 Fix MSVC buildPeter Harris, Jul 5, 2010
  2. 2/2 Modify MSVC wrapper scriptPeter Harris, Jul 5, 2010
  3. Johannes SixtJul 6, 2010
  4. Johannes SchindelinJul 6, 2010

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.