tftp-hpa-google/config.h.in
2001-11-12 06:46:56 +00:00

57 lines
1.3 KiB
C

/* $Id$ */
/* ----------------------------------------------------------------------- *
*
* Copyright 2001 H. Peter Anvin - All Rights Reserved
*
* This program is free software available under the same license
* as the "OpenBSD" operating system, distributed at
* http://www.openbsd.org/.
*
* ----------------------------------------------------------------------- */
/*
* config.h.in
*
* Pattern file for configurations
*/
#undef HAVE_SIGSETJMP
#undef HAVE_MSGHDR_MSG_CONTROL
#undef HAVE_RECVMSG
#undef HAVE_TCPWRAPPERS
#undef HAVE_STRUCT_IN_PKTINFO
#undef HAVE_SETREUID
#undef HAVE_SETREGID
#undef HAVE_SETSID
#undef HAVE_IPPORT_TFTP_DEFINITION
#undef HAVE_SYSEXITS_H
#undef HAVE_STRINGS_H
#undef HAVE_LIBGEN_H
#undef HAVE_SYS_FILIO_H
#undef HAVE_INTTYPES_H
#undef HAVE_LONG_LONG
#undef WITH_REGEX
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#else
#ifdef HAVE_LONG_LONG
typedef long long intmax_t;
typedef unsigned long long uintmax_t;
#define PRIdMAX "%Ld"
#define PRIuMAX "%Lu"
#define PRIxMAX "%Lx"
#define INTMAX_C(x) (x##LL)
#define UINTMAX_C(x) (x##ULL)
#define strtoumax(p,e,b) strtoull(p,e,b)
#else
typedef long intmax_t;
typedef unsigned long uintmax_t;
#define PRIdMAX "%ld"
#define PRIuMAX "%lu"
#define PRIxMAX "%lx"
#define INTMAX_C(x) (x##L)
#define UINTMAX_C(x) (x##UL)
#define strtoumax(p,e,b) strtoul(p,e,b)
#endif
#endif