You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by sh...@apache.org on 2009/10/08 01:38:06 UTC

svn commit: r822963 - /qpid/trunk/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h

Author: shuston
Date: Wed Oct  7 23:38:06 2009
New Revision: 822963

URL: http://svn.apache.org/viewvc?rev=822963&view=rev
Log:
Pick up size_t def from Windows rather than making one up and possibly clashing with other packages.

Modified:
    qpid/trunk/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h

Modified: qpid/trunk/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h?rev=822963&r1=822962&r2=822963&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h Wed Oct  7 23:38:06 2009
@@ -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 @@
 
 // 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*/



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org