summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-05-12 09:46:56 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-05-12 09:46:56 +0200
commitead1e484d25d24df2e0440606748a96b0dce8d93 (patch)
tree98fa7100ecbe60200a5f640fc5c2f1966587ea16
parentfcbcbfd7e57b2edac35c66a7617f7ab5d0467220 (diff)
Mingw32 doesn't like my ssize_t...
-rw-r--r--include/generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/generic.h b/include/generic.h
index ace03e8..870dfd0 100644
--- a/include/generic.h
+++ b/include/generic.h
@@ -118,7 +118,7 @@ typedef Uint16 Word;
typedef Uint32 DWord;
#endif
-#if !defined __ssize_t_defined && !defined _SSIZE_T && !defined ssize_t && !defined _BSD_SSIZE_T_DEFINED_
+#if !defined __ssize_t_defined && !defined _SSIZE_T && !defined ssize_t && !defined _BSD_SSIZE_T_DEFINED_ && !define __MINGW32__
typedef int32 ssize_t;
#endif