1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Use uint32_t for four byte integer. It fixes working on 64-bit platforms.

PR:		ports/105549
Reported by:	Toshio Hiraga <toshio.hiraga@gmail.com>
Approved by:	maintainer timeout
This commit is contained in:
Sergey Matveychuk 2007-08-04 09:54:16 +00:00
parent 89193fb442
commit 78d2a1afec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197066

View File

@ -0,0 +1,18 @@
--- md5.h.orig 2007-08-04 13:45:30.000000000 +0400
+++ md5.h 2007-08-04 13:41:19.000000000 +0400
@@ -21,11 +21,15 @@
typedef unsigned short int UINT2;
/* UINT4 defines a four byte word */
+#if 0
#if defined(__alpha) && (defined(__osf__) || defined(__linux__))
typedef unsigned int UINT4;
#else
typedef unsigned long int UINT4;
#endif
+#endif
+#include <sys/types.h>
+typedef uint32_t UINT4;
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it