aboutsummaryrefslogtreecommitdiffstats
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-10-04 21:59:18 +0000
committerJörg Mayer <jmayer@loplof.de>2013-10-04 21:59:18 +0000
commit30f0ea3846727d28e60f227d3308ce3764be1ee9 (patch)
treed5e0af73c2bc054ce5c57da1b60ceac5fcd843b7 /cmakeconfig.h.in
parent1f278f036aa6e31c930cf2094134ce7861f8e399 (diff)
ssize_t is missing on Windows, so typdef it.
svn path=/trunk/; revision=52370
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 76a24b54f4..1c43c9d65c 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -407,3 +407,7 @@
/* _U_ isn't needed for C++, simply don't name the variable.
However, we do need it for some headers that are shared between C and C++. */
#define _U_ ${C_UNUSED}
+
+#if defined(_WIN32)
+typedef long ssize_t;
+#endif