diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | defines.h | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -6,6 +6,8 @@ | |||
6 | Fournier <marc.fournier@acadiau.ca> | 6 | Fournier <marc.fournier@acadiau.ca> |
7 | - Fix occasional crash on LinuxPPC. Patch from Franz Sirl | 7 | - Fix occasional crash on LinuxPPC. Patch from Franz Sirl |
8 | <Franz.Sirl-kernel@lauterbach.com> | 8 | <Franz.Sirl-kernel@lauterbach.com> |
9 | - Prevent typedefs from being compiled more than once. Report from | ||
10 | Marc G. Fournier <marc.fournier@acadiau.ca> | ||
9 | 11 | ||
10 | 19991230 | 12 | 19991230 |
11 | - OpenBSD CVS updates: | 13 | - OpenBSD CVS updates: |
@@ -61,6 +61,7 @@ typedef long int int64_t; | |||
61 | # else | 61 | # else |
62 | # if (SIZEOF_LONG_LONG_INT == 8) | 62 | # if (SIZEOF_LONG_LONG_INT == 8) |
63 | typedef long long int int64_t; | 63 | typedef long long int int64_t; |
64 | # define HAVE_INTXX_T | ||
64 | # else | 65 | # else |
65 | # error "64 bit int type not found." | 66 | # error "64 bit int type not found." |
66 | # endif | 67 | # endif |
@@ -89,6 +90,7 @@ typedef unsigned long int u_int64_t; | |||
89 | # else | 90 | # else |
90 | # if (SIZEOF_LONG_LONG_INT == 8) | 91 | # if (SIZEOF_LONG_LONG_INT == 8) |
91 | typedef unsigned long long int u_int64_t; | 92 | typedef unsigned long long int u_int64_t; |
93 | # define HAVE_U_INTXX_T | ||
92 | # else | 94 | # else |
93 | # error "64 bit int type not found." | 95 | # error "64 bit int type not found." |
94 | # endif | 96 | # endif |
@@ -100,14 +102,17 @@ typedef unsigned long long int u_int64_t; | |||
100 | /* being defined by the above */ | 102 | /* being defined by the above */ |
101 | #ifndef HAVE_QUAD_T | 103 | #ifndef HAVE_QUAD_T |
102 | typedef int64_t quad_t; | 104 | typedef int64_t quad_t; |
105 | # define HAVE_QUAD_T | ||
103 | #endif | 106 | #endif |
104 | 107 | ||
105 | #ifndef HAVE_SOCKLEN_T | 108 | #ifndef HAVE_SOCKLEN_T |
106 | typedef unsigned int socklen_t; | 109 | typedef unsigned int socklen_t; |
110 | # define HAVE_SOCKLEN_T | ||
107 | #endif /* HAVE_SOCKLEN_T */ | 111 | #endif /* HAVE_SOCKLEN_T */ |
108 | 112 | ||
109 | #ifndef HAVE_SIZE_T | 113 | #ifndef HAVE_SIZE_T |
110 | typedef unsigned int size_t; | 114 | typedef unsigned int size_t; |
115 | # define HAVE_SIZE_T | ||
111 | #endif /* HAVE_SIZE_T */ | 116 | #endif /* HAVE_SIZE_T */ |
112 | 117 | ||
113 | /* Paths */ | 118 | /* Paths */ |