summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorJerome Lambourg <lambourg@adacore.com>2011-09-12 11:06:54 +0200
committerJerome Lambourg <lambourg@adacore.com>2011-09-12 11:06:54 +0200
commit22c30464624f0760d85668df9773fe4882ee20a4 (patch)
treed7a488674300d2dec3322b1c952f622097e4f576 /src/common.h
parent3f3f6225f8237e974b135de30eaac731c929936e (diff)
downloadlibgit2-22c30464624f0760d85668df9773fe4882ee20a4.tar.gz
Fix compilation issues with ming64 headers
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 5986a6568..649c5d5fb 100644
--- a/src/common.h
+++ b/src/common.h
@@ -31,7 +31,9 @@
# define snprintf _snprintf
+#ifndef _SSIZE_T_DEFINED
typedef SSIZE_T ssize_t;
+#endif
#else
# include <unistd.h>