]>
Commit | Line | Data |
---|---|---|
6f8c11b0 JB |
1 | --- net-snmp-5.2/include/net-snmp/types.h.orig 2004-09-14 04:29:15.000000000 +0200 |
2 | +++ net-snmp-5.2/include/net-snmp/types.h 2005-01-17 21:54:03.359892800 +0100 | |
3 | @@ -77,34 +77,34 @@ | |
4 | */ | |
5 | #ifndef HAVE_INT32_T | |
6 | #if SIZEOF_INT == 4 | |
7 | -typedef int int32_t | |
8 | +typedef int int32_t; | |
9 | #elif SIZEOF_LONG == 4 | |
10 | -typedef long int32_t | |
11 | +typedef long int32_t; | |
12 | #elif SIZEOF_SHORT == 4 | |
13 | -typedef short int32_t | |
14 | +typedef short int32_t; | |
15 | #else | |
16 | -typedef int int32_t | |
17 | +typedef int int32_t; | |
18 | #define _INT32_IS_NOT_32BIT | |
19 | #endif | |
20 | #endif | |
21 | ||
22 | #ifndef HAVE_UINT32_T | |
23 | #ifdef HAVE_U_INT32_T | |
24 | -typedef u_int32_t uint32_t | |
25 | +typedef u_int32_t uint32_t; | |
26 | #else | |
27 | -typedef unsigned int32_t uint32_t | |
28 | +typedef unsigned int32_t uint32_t; | |
29 | #endif | |
30 | #endif | |
31 | ||
32 | #ifndef HAVE_INT64_T | |
33 | #if SIZEOF_LONG == 8 | |
34 | -typedef long int64_t | |
35 | +typedef long int64_t; | |
36 | #elif SIZEOF_LONG_LONG == 8 | |
37 | -typedef long long int64_t | |
38 | +typedef long long int64_t; | |
39 | #elif SIZEOF_INT == 8 | |
40 | -typedef int int64_t | |
41 | +typedef int int64_t; | |
42 | #elif SIZEOF_LONG >= 8 | |
43 | -typedef long int64_t | |
44 | +typedef long int64_t; | |
45 | #define _INT64_IS_NOT_64BIT | |
46 | #else | |
47 | #define _NO_64BIT_TYPE 1 | |
48 | @@ -113,9 +113,9 @@ | |
49 | ||
50 | #ifndef HAVE_UINT64_T | |
51 | #ifdef HAVE_U_INT64_T | |
52 | -typedef u_int64_t uint64_t | |
53 | +typedef u_int64_t uint64_t; | |
54 | #elif !defined(_NO_64BIT_TYPE) | |
55 | -typedef unsigned int64_t uint64_t | |
56 | +typedef unsigned int64_t uint64_t; | |
57 | #endif | |
58 | #endif | |
59 |