summaryrefslogtreecommitdiffhomepage
path: root/ir/lpp
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2014-11-26 13:11:03 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2014-11-26 13:11:03 +0100
commiteab8105de81fca0362f961ab0ea9466483fcdb7a (patch)
tree7892e8355fa7752d136da0fdf440d26569f7257e /ir/lpp
parent7abc53d8579c07f6f748a1d9070433240e8d976c (diff)
Do not create ssize_t typedef on MinGW.
Diffstat (limited to 'ir/lpp')
-rw-r--r--ir/lpp/lpp_comm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/lpp/lpp_comm.c b/ir/lpp/lpp_comm.c
index 7f38ef2..4ea9ce2 100644
--- a/ir/lpp/lpp_comm.c
+++ b/ir/lpp/lpp_comm.c
@@ -20,7 +20,9 @@
#include <windows.h>
#include <winsock2.h>
#include <BaseTsd.h>
+#ifdef _MSC_VER
typedef SSIZE_T ssize_t;
+#endif
#else
#include <unistd.h>
#include <sys/types.h>