From 48be627be2c95bc227194e608e9987775084a886 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 5 Jan 1996 03:50:32 +0000 Subject: [PATCH] krb5.hin: Added support for KRB5_INT16_MAX, which tells us the limitations of using 16 bit ints. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7278 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 5 +++++ src/include/krb5.hin | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index a9d7e60a9..721fa1e8f 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +Thu Jan 4 22:49:13 1996 Theodore Y. Ts'o + + * krb5.hin: Added support for KRB5_INT16_MAX, which tells us the + limitations of using 16 bit ints. + Sun Nov 26 19:23:35 1995 Tom Yu * k5-int.h: Ultrix is broken. Hacked around by redefining the diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 314c624e0..bee452c4c 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -135,6 +135,11 @@ typedef unsigned short krb5_ui_4; indicator */ #define KRB5_INT32_MIN (-KRB5_INT32_MAX-1) +#define KRB5_INT16_MAX 65535 +/* this strange form is necessary since - is a unary operator, not a sign + indicator */ +#define KRB5_INT16_MIN (-KRB5_INT16_MAX-1) + /* * end wordsize.h */ -- 2.26.2