summaryrefslogtreecommitdiff
path: root/devel/tcl-trf/files/patch-intsize
blob: f95655d2aac79669298bb8a794704b2ceb46beba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- generic/haval.1996/haval.h	Fri Jul 11 12:07:36 1997
+++ generic/haval.1996/haval.h	Sun Jul 11 13:43:41 2004
@@ -47,9 +47,6 @@
  */
 
-#ifdef __alpha /* aku, Sep 23, 1996 */
-typedef unsigned int      haval_word; /* a HAVAL word = 32 bits */
-#else
-typedef unsigned long int haval_word; /* a HAVAL word = 32 bits */
-#endif
+#include <sys/types.h>
+typedef uint32_t	haval_word;	/* a HAVAL word = 32 bits */
 
 typedef struct {
--- generic/ripemd/rmd128.h	Mon May 19 16:53:18 1997
+++ generic/ripemd/rmd128.h	Sun Jul 11 13:48:54 2004
@@ -33,12 +33,8 @@
 /* adapt these, if necessary, 
    for your operating system and compiler */
+#include <sys/types.h>
-typedef    unsigned char        byte;   /* unsigned 8-bit type */
-typedef    unsigned short       word;   /* unsigned 16-bit type */
-
-#ifdef __alpha
-typedef    unsigned int         dword;  /* unsigned 32-bit integer (AXP) */ 
-#else
-typedef    unsigned long        dword;  /* unsigned 32-bit type */
-#endif
+typedef uint8_t 	byte;   /* unsigned 8-bit type */
+typedef uint16_t	word;   /* unsigned 16-bit type */
+typedef uint32_t	dword;  /* unsigned 32-bit type */
 
 /********************************************************************/