summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2011-09-18 20:00:19 -0700
committerVicent Martí <tanoku@gmail.com>2011-09-18 20:00:19 -0700
commita8076074702d336b5d9f0103c8420c17bf7a6b4c (patch)
treea8174587799c059dde89d3506d553844a756e825 /src/common.h
parentae996e029f00acc5716558ca7dc06e2bb44adc93 (diff)
parent22c30464624f0760d85668df9773fe4882ee20a4 (diff)
downloadlibgit2-a8076074702d336b5d9f0103c8420c17bf7a6b4c.tar.gz
Merge pull request #397 from lambourg/development
Fix compilation issues with mingw64 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 ed04de206..f4ea1ebf7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -37,7 +37,9 @@
# define snprintf _snprintf
+#ifndef _SSIZE_T_DEFINED
typedef SSIZE_T ssize_t;
+#endif
#else
# include <unistd.h>