summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-01-05 03:50:32 +0000
committerTheodore Tso <tytso@mit.edu>1996-01-05 03:50:32 +0000
commit48be627be2c95bc227194e608e9987775084a886 (patch)
tree1e51c9153938395db8d21bb97aff6f1f0befcacb
parent16648a322ab23889a45f1425200f5ba7868909e9 (diff)
downloadkrb5-48be627be2c95bc227194e608e9987775084a886.tar.gz
krb5-48be627be2c95bc227194e608e9987775084a886.tar.xz
krb5-48be627be2c95bc227194e608e9987775084a886.zip
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
-rw-r--r--src/include/ChangeLog5
-rw-r--r--src/include/krb5.hin5
2 files changed, 10 insertions, 0 deletions
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 <tytso@dcl>
+
+ * 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 <tlyu@dragons-lair.MIT.EDU>
* 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
*/