summaryrefslogtreecommitdiff
path: root/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
commit8547942c504c890d0b63991988f350797c69b049 (patch)
tree24780705ccf99464eb7651da9e1352c0245a7871 /cpp/include
parent727cc60c075632329c345086d21cd12355fa0234 (diff)
downloadqpid-python-8547942c504c890d0b63991988f350797c69b049.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/qpid@822963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rwxr-xr-xcpp/include/qpid/sys/windows/IntegerTypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/include/qpid/sys/windows/IntegerTypes.h b/cpp/include/qpid/sys/windows/IntegerTypes.h
index 47b1d16a76..7b2c57ad8e 100755
--- a/cpp/include/qpid/sys/windows/IntegerTypes.h
+++ b/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*/