svn rev #21956: trunk/src/include/
raeburn@MIT.EDU
raeburn at MIT.EDU
Tue Feb 10 19:16:24 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21956
Commit By: raeburn
Log Message:
define SSIZE_MAX forWindows
Changed Files:
U trunk/src/include/k5-platform.h
Modified: trunk/src/include/k5-platform.h
===================================================================
--- trunk/src/include/k5-platform.h 2009-02-11 00:15:55 UTC (rev 21955)
+++ trunk/src/include/k5-platform.h 2009-02-11 00:16:23 UTC (rev 21956)
@@ -427,6 +427,10 @@
# define UINT64_MAX ((UINT64_TYPE)((UINT64_TYPE)0 - 1))
#endif
+#ifdef _WIN32
+# define SSIZE_MAX ((ssize_t)(SIZE_MAX/2))
+#endif
+
/* Read and write integer values as (unaligned) octet strings in
specific byte orders. Add per-platform optimizations as
needed. */
More information about the cvs-krb5
mailing list