git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Harris <pharris@opentext.com>
To: msysgit@googlegroups.com
Cc: git@vger.kernel.org, ramsay@ramsay1.demon.co.uk,
	jrnieder@gmail.com, Peter Harris <pharris@opentext.com>
Subject: [PATCH 1/2] Fix MSVC build
Date: Mon,  5 Jul 2010 15:41:36 -0400	[thread overview]
Message-ID: <1278358897-488-1-git-send-email-pharris@opentext.com> (raw)

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

             reply	other threads:[~2010-07-05 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05 19:41 Peter Harris [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1278358897-488-1-git-send-email-pharris@opentext.com \
    --to=pharris@opentext.com \
    --cc=git@vger.kernel.org \
    --cc=jrnieder@gmail.com \
    --cc=msysgit@googlegroups.com \
    --cc=ramsay@ramsay1.demon.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).