diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -123,7 +123,6 @@ typedef int int32_t; | |||
123 | # else | 123 | # else |
124 | # error "32 bit int type not found." | 124 | # error "32 bit int type not found." |
125 | # endif | 125 | # endif |
126 | /* | ||
127 | # if (SIZEOF_LONG_INT == 8) | 126 | # if (SIZEOF_LONG_INT == 8) |
128 | typedef long int int64_t; | 127 | typedef long int int64_t; |
129 | # else | 128 | # else |
@@ -134,7 +133,6 @@ typedef long long int int64_t; | |||
134 | # error "64 bit int type not found." | 133 | # error "64 bit int type not found." |
135 | # endif | 134 | # endif |
136 | # endif | 135 | # endif |
137 | */ | ||
138 | #endif | 136 | #endif |
139 | 137 | ||
140 | /* If sys/types.h does not supply u_intXX_t, supply them ourselves */ | 138 | /* If sys/types.h does not supply u_intXX_t, supply them ourselves */ |
@@ -143,9 +141,7 @@ typedef long long int int64_t; | |||
143 | typedef uint8_t u_int8_t; | 141 | typedef uint8_t u_int8_t; |
144 | typedef uint16_t u_int16_t; | 142 | typedef uint16_t u_int16_t; |
145 | typedef uint32_t u_int32_t; | 143 | typedef uint32_t u_int32_t; |
146 | /* | ||
147 | typedef uint64_t u_int64_t; | 144 | typedef uint64_t u_int64_t; |
148 | */ | ||
149 | # define HAVE_U_INTXX_T 1 | 145 | # define HAVE_U_INTXX_T 1 |
150 | # else | 146 | # else |
151 | # if (SIZEOF_CHAR == 1) | 147 | # if (SIZEOF_CHAR == 1) |
@@ -163,7 +159,6 @@ typedef unsigned int u_int32_t; | |||
163 | # else | 159 | # else |
164 | # error "32 bit int type not found." | 160 | # error "32 bit int type not found." |
165 | # endif | 161 | # endif |
166 | /* | ||
167 | # if (SIZEOF_LONG_INT == 8) | 162 | # if (SIZEOF_LONG_INT == 8) |
168 | typedef unsigned long int u_int64_t; | 163 | typedef unsigned long int u_int64_t; |
169 | # else | 164 | # else |
@@ -174,7 +169,6 @@ typedef unsigned long long int u_int64_t; | |||
174 | # error "64 bit int type not found." | 169 | # error "64 bit int type not found." |
175 | # endif | 170 | # endif |
176 | # endif | 171 | # endif |
177 | */ | ||
178 | # endif | 172 | # endif |
179 | #endif | 173 | #endif |
180 | 174 | ||
@@ -326,6 +320,10 @@ typedef int mode_t; | |||
326 | # define USE_VHANGUP | 320 | # define USE_VHANGUP |
327 | #endif /* defined(HAVE_VHANGUP) && !defined(BROKEN_VHANGUP) */ | 321 | #endif /* defined(HAVE_VHANGUP) && !defined(BROKEN_VHANGUP) */ |
328 | 322 | ||
323 | #ifndef GETPGRP_VOID | ||
324 | # define getpgrp() getpgrp(0) | ||
325 | #endif | ||
326 | |||
329 | /** | 327 | /** |
330 | ** login recorder definitions | 328 | ** login recorder definitions |
331 | **/ | 329 | **/ |