git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Fix MSVC build
@ 2010-07-05 19:41 Peter Harris
  2010-07-05 19:41 ` [PATCH 2/2] Modify MSVC wrapper script Peter Harris
  2010-07-06  5:55 ` [PATCH 1/2] Fix MSVC build Johannes Sixt
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Harris @ 2010-07-05 19:41 UTC (permalink / raw)
  To: msysgit; +Cc: git, ramsay, jrnieder, Peter Harris

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-06 10:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05 19:41 [PATCH 1/2] Fix MSVC build Peter Harris
2010-07-05 19:41 ` [PATCH 2/2] Modify MSVC wrapper script Peter Harris
2010-07-06  5:55 ` [PATCH 1/2] Fix MSVC build Johannes Sixt
2010-07-06 10:12   ` [msysGit] " Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).