diff options
author | Colin Watson <cjwatson@debian.org> | 2012-05-17 13:04:02 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2012-05-17 13:04:02 +0100 |
commit | dd5ed53e20d218607260916a6b04d1c8c5b3d88f (patch) | |
tree | c59b4dbcc610f10700945f885adf3bddc2542c26 /defines.h | |
parent | 8241a65bf12ac53c1b7304bba7ce739aad80b8b8 (diff) | |
parent | b9bc38990c5eb5d99e28ca5af6d3491fd4a0060a (diff) |
merge 6.0p1
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -25,7 +25,7 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.167 2011/06/03 01:17:49 tim Exp $ */ | 28 | /* $Id: defines.h,v 1.169 2012/02/15 04:13:06 tim Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -87,6 +87,12 @@ enum | |||
87 | # define IPTOS_DSCP_EF 0xb8 | 87 | # define IPTOS_DSCP_EF 0xb8 |
88 | #endif /* IPTOS_DSCP_EF */ | 88 | #endif /* IPTOS_DSCP_EF */ |
89 | 89 | ||
90 | #ifndef PATH_MAX | ||
91 | # ifdef _POSIX_PATH_MAX | ||
92 | # define PATH_MAX _POSIX_PATH_MAX | ||
93 | # endif | ||
94 | #endif | ||
95 | |||
90 | #ifndef MAXPATHLEN | 96 | #ifndef MAXPATHLEN |
91 | # ifdef PATH_MAX | 97 | # ifdef PATH_MAX |
92 | # define MAXPATHLEN PATH_MAX | 98 | # define MAXPATHLEN PATH_MAX |
@@ -99,12 +105,6 @@ enum | |||
99 | # endif /* PATH_MAX */ | 105 | # endif /* PATH_MAX */ |
100 | #endif /* MAXPATHLEN */ | 106 | #endif /* MAXPATHLEN */ |
101 | 107 | ||
102 | #ifndef PATH_MAX | ||
103 | # ifdef _POSIX_PATH_MAX | ||
104 | # define PATH_MAX _POSIX_PATH_MAX | ||
105 | # endif | ||
106 | #endif | ||
107 | |||
108 | #if defined(HAVE_DECL_MAXSYMLINKS) && HAVE_DECL_MAXSYMLINKS == 0 | 108 | #if defined(HAVE_DECL_MAXSYMLINKS) && HAVE_DECL_MAXSYMLINKS == 0 |
109 | # define MAXSYMLINKS 5 | 109 | # define MAXSYMLINKS 5 |
110 | #endif | 110 | #endif |
@@ -194,11 +194,7 @@ typedef unsigned int u_int; | |||
194 | #endif | 194 | #endif |
195 | 195 | ||
196 | #ifndef HAVE_INTXX_T | 196 | #ifndef HAVE_INTXX_T |
197 | # if (SIZEOF_CHAR == 1) | 197 | typedef signed char int8_t; |
198 | typedef char int8_t; | ||
199 | # else | ||
200 | # error "8 bit int type not found." | ||
201 | # endif | ||
202 | # if (SIZEOF_SHORT_INT == 2) | 198 | # if (SIZEOF_SHORT_INT == 2) |
203 | typedef short int int16_t; | 199 | typedef short int int16_t; |
204 | # else | 200 | # else |