Skip Menu |

Subject: SVN Commit
Commit By: jaltman

Revision: 19190
Changed Files:
U trunk/src/include/win-mac.h
some applications define ssize_t as a preprocessor symbol. deal by
testing for the symbol and undefining it before we create the typedef
revision 19123 added a typedef declaration for ssize_t which
is not declared by Microsoft in versions of visual studio
and the associated C Run Time Libraries. Following the style
used by Microsoft new type declarations are wrapped with a
pre-processor macro so it is possible to determine if the
typedef is present.

Not all third party applications and libraries are careful to
follow the pattern set by Microsoft. As a result, the inclusion
of ssize_t in win-mac.h was broken by libraries that include
krb5.h after defining ssize_t as a preprocessor macro. This
patch undefines the macro prior to defining ssize_t as a new
Subject: SVN Commit
pull up r19190 from trunk

r19190@cathode-dark-space: jaltman | 2007-02-28 02:10:33 -0500
ticket: new
subject: Windows - some apps define ssize_t as a preprocessor symbol
component: krb5-libs
tags: pullup

Commit By: tlyu

Revision: 19330
Changed Files:
_U branches/krb5-1-6/
U branches/krb5-1-6/src/include/win-mac.h