aboutsummaryrefslogtreecommitdiffstats
path: root/md5global.h
diff options
context:
space:
mode:
Diffstat (limited to 'md5global.h')
-rw-r--r--md5global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/md5global.h b/md5global.h
index de2f91d4..14f6e44b 100644
--- a/md5global.h
+++ b/md5global.h
@@ -22,7 +22,11 @@ typedef unsigned char *POINTER;
typedef unsigned short int UINT2;
/* UINT4 defines a four byte word */
+#if SIZEOF_INT == 4
+typedef unsigned int UINT4;
+#else
typedef unsigned long int UINT4;
+#endif
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it