version 1.2, 2011/07/24 18:15:14 |
version 1.5, 2012/03/24 06:23:14 |
|
|
# endif |
# endif |
#endif |
#endif |
|
|
|
#if defined(__APPLE__) |
|
# define htobe32(x) OSSwapHostToBigInt32(x) |
|
# define betoh32(x) OSSwapBigToHostInt32(x) |
|
# define htobe64(x) OSSwapHostToBigInt64(x) |
|
# define betoh64(x) OSSwapBigToHostInt64(x) |
|
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) |
|
# define betoh32(x) be32toh(x) |
|
# define betoh64(x) be64toh(x) |
|
#elif defined(__OpenBSD__) |
|
/* Nothing */ |
|
#else |
|
/* XXX Fallback */ |
|
#endif |
|
|
#ifndef HAVE_STRLCAT |
#ifndef HAVE_STRLCAT |
extern size_t strlcat(char *, const char *, size_t); |
extern size_t strlcat(char *, const char *, size_t); |
#endif |
#endif |
Line 24 extern size_t strlcpy(char *, const char *, size_t); |
|
Line 38 extern size_t strlcpy(char *, const char *, size_t); |
|
#ifndef HAVE_GETSUBOPT |
#ifndef HAVE_GETSUBOPT |
extern int getsubopt(char **, char * const *, char **); |
extern int getsubopt(char **, char * const *, char **); |
extern char *suboptarg; |
extern char *suboptarg; |
|
#endif |
|
#ifndef HAVE_FGETLN |
|
extern char *fgetln(FILE *, size_t *); |
#endif |
#endif |
|
|
#endif /* MANDOC_CONFIG_H */ |
#endif /* MANDOC_CONFIG_H */ |