summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-01-26 17:53:46 -0800
committerVicent Martí <tanoku@gmail.com>2012-01-26 17:53:46 -0800
commita53420e4b0efc9b1d87d6d13473d7f29ef4c68ee (patch)
tree4d17b8f3f1e4fdbd5f2b5de704cdf92394706d9f /src/common.h
parent99a07f0f4df5e965eb87c0066ce0afcd848e6bd9 (diff)
downloadlibgit2-a53420e4b0efc9b1d87d6d13473d7f29ef4c68ee.tar.gz
msvc: Move `ssize_t` typedef to MSVC-only
This is a MSVC-only issue. All other compilers we support work properly.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common.h b/src/common.h
index 35316012d..4f037f78c 100644
--- a/src/common.h
+++ b/src/common.h
@@ -33,10 +33,6 @@
# define snprintf _snprintf
-#ifndef _SSIZE_T_DEFINED
-typedef SSIZE_T ssize_t;
-#endif
-
#else
# include <unistd.h>