diff options
author | Vicent Martà <tanoku@gmail.com> | 2011-09-18 20:00:19 -0700 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2011-09-18 20:00:19 -0700 |
commit | a8076074702d336b5d9f0103c8420c17bf7a6b4c (patch) | |
tree | a8174587799c059dde89d3506d553844a756e825 /src/common.h | |
parent | ae996e029f00acc5716558ca7dc06e2bb44adc93 (diff) | |
parent | 22c30464624f0760d85668df9773fe4882ee20a4 (diff) | |
download | libgit2-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.h | 2 |
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> |