summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-10-07 23:38:06 +0000
committerStephen D. Huston <shuston@apache.org>2009-10-07 23:38:06 +0000
commitad5d4d17121fbef1805a248699ef0d412436a299 (patch)
treea502fe45829e9fa33185b3a77f9fa18f08d56b54 /qpid/cpp/include
parent4a997d0ccf34f790cf9e55e6b2e22cc65b0428e1 (diff)
downloadqpid-python-ad5d4d17121fbef1805a248699ef0d412436a299.tar.gz
Pick up size_t def from Windows rather than making one up and possibly clashing with other packages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@822963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rwxr-xr-xqpid/cpp/include/qpid/sys/windows/IntegerTypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h b/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h
index 47b1d16a76..7b2c57ad8e 100755
--- a/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h
+++ b/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h
@@ -21,6 +21,8 @@
*
*/
+#include <BaseTsd.h> /* Windows system types */
+
typedef unsigned char uint8_t;
typedef char int8_t;
typedef unsigned short uint16_t;
@@ -32,7 +34,7 @@ typedef __int64 int64_t;
// Visual Studio doesn't define other common types, so set them up here too.
typedef int pid_t;
-typedef int ssize_t;
+typedef SSIZE_T ssize_t;
typedef unsigned int uint;
#endif /*!QPID_SYS_WINDOWS_INTEGERTYPES_H*/