From ad5d4d17121fbef1805a248699ef0d412436a299 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Wed, 7 Oct 2009 23:38:06 +0000 Subject: 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 --- qpid/cpp/include/qpid/sys/windows/IntegerTypes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qpid/cpp/include') 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 /* 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*/ -- cgit v1.2.1