aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/torint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/torint.h b/src/common/torint.h
index 6ec53ed127..f520072aa2 100644
--- a/src/common/torint.h
+++ b/src/common/torint.h
@@ -41,6 +41,11 @@
#include <inttypes.h>
#endif
+#ifdef MS_WINDOWS
+/* Windows likes to capitalize ssize_t. Charming. */
+#define ssize_t SSIZE_T
+#endif
+
#if (SIZEOF_INT8_T != 0)
#define HAVE_INT8_T
#endif