From ad45c26ef806fb2998095c9e15ea142b6f6db6d6 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 30 Jan 2007 11:23:59 +0000 Subject: [PATCH] Conditionalize ssize_t declaration ticket: 5419 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19125 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/identity/include/khdefs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/windows/identity/include/khdefs.h b/src/windows/identity/include/khdefs.h index 4a0251107..6b81f4ca0 100644 --- a/src/windows/identity/include/khdefs.h +++ b/src/windows/identity/include/khdefs.h @@ -113,11 +113,14 @@ typedef size_t khm_size; Just a signed version of size_t */ +#ifndef _SSIZE_T_DEFINED #ifdef _WIN64 typedef __int64 ssize_t; #else typedef _W64 int ssize_t; #endif +#define _SSIZE_T_DEFINED +#endif typedef ssize_t khm_ssize; -- 2.26.2