Windows - some apps define ssize_t as a preprocessor symbol
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 28 Feb 2007 07:10:33 +0000 (07:10 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 28 Feb 2007 07:10:33 +0000 (07:10 +0000)
ticket: new
component: krb5-libs
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19190 dc483132-0cff-0310-8789-dd5450dbe970

src/include/win-mac.h

index 5c08fab3914034cd09a804f9f0443979bb899903..923fe60453efcf52c2791f0cbe32cab73d0c310c 100644 (file)
@@ -83,6 +83,9 @@ typedef unsigned __int64 uint64_t;
 typedef __int64          int64_t;
 #endif
 #ifndef SSIZE_T_DEFINED
+#ifdef ssize_t
+#undef ssize_t
+#endif
 #ifdef _WIN64
 typedef __int64                 ssize_t;
 #else