Add KRB5_INT32 definitions for non-32 int platforms
authorTheodore Tso <tytso@mit.edu>
Wed, 8 Feb 1995 19:02:01 +0000 (19:02 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 8 Feb 1995 19:02:01 +0000 (19:02 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4925 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/des/ChangeLog
src/lib/crypto/des/des.h

index c344fb9f492b453e70c38e5622a7d8e58e8cf544..7ece77f2f279f39db29bcebf637d38d8488e0281 100644 (file)
@@ -1,3 +1,7 @@
+Wed Feb  8 13:59:05 1995  Theodore Y. Ts'o  (tytso@dcl)
+
+       * des.h: Add KRB5_INT32 definitions for non-32 int platforms.
+
 Fri Feb  3 06:33:22 1995  Theodore Y. Ts'o  (tytso@dcl)
 
        * des_int.h: Remove unused cruft from the file.
index 81cfef3f4d371969a2d915dce9cd0b926da301e4..3ada2e9dcaac61272b812852103b85c7e54688c8 100644 (file)
 #include "k5-int.h"
 
 #ifndef KRB_INT32
+#if (SIZEOF_LONG == 4)
 #define KRB_INT32 long
+#elif (SIZEOF_INT == 4)
+#define KRB_INT32 int
+#elif (SIZEOF_SHORT == 4)
+#define KRB_INT32 short
+#else
+  ?== No 32 bit type available
 #endif
+#endif /* !KRB_INT32 */
 #ifndef KRB_UINT32
 #define KRB_UINT32 unsigned KRB_INT32
 #endif