version 1.4, 2011/12/13 11:26:12 |
version 1.6, 2012/06/08 10:47:17 |
|
|
# 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__) |
|
# define betoh32(x) be32toh(x) |
|
# define betoh64(x) be64toh(x) |
|
#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 |