Commit 22c30464624f0760d85668df9773fe4882ee20a4

Jerome Lambourg 2011-09-12T11:06:54

Fix compilation issues with ming64 headers

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/common.h b/src/common.h
index 5986a65..649c5d5 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>