pull up r19125 from trunk
authorTom Yu <tlyu@mit.edu>
Fri, 30 Mar 2007 00:36:08 +0000 (00:36 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 30 Mar 2007 00:36:08 +0000 (00:36 +0000)
 r19125@cathode-dark-space:  jaltman | 2007-01-30 06:23:59 -0500
 ticket: 5419

  Conditionalize ssize_t declaration

ticket: 5419
version_fixed: 1.6.1

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19327 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/identity/include/khdefs.h

index 4a0251107bcff5c361dae8d0d0122af786e69fee..6b81f4ca07befeb8a4555b5daa7c82bb56f46b7f 100644 (file)
@@ -113,11 +113,14 @@ typedef size_t khm_size;
     Just a signed version of size_t\r
  */\r
 \r
+#ifndef _SSIZE_T_DEFINED\r
 #ifdef  _WIN64\r
 typedef __int64    ssize_t;\r
 #else\r
 typedef _W64 int   ssize_t;\r
 #endif\r
+#define _SSIZE_T_DEFINED\r
+#endif \r
 \r
 typedef ssize_t khm_ssize;\r
 \r