(sockaddr_storage): change padding so that we have one char[] of pad
[heimdal.git] / acconfig.h
blob2d0aaea512244bb4d964b29056c2975718b227d5
1 @BOTTOM@
3 #undef BINDIR
4 #undef LIBDIR
5 #undef LIBEXECDIR
6 #undef SBINDIR
8 #undef HAVE_INT8_T
9 #undef HAVE_INT16_T
10 #undef HAVE_INT32_T
11 #undef HAVE_INT64_T
12 #undef HAVE_U_INT8_T
13 #undef HAVE_U_INT16_T
14 #undef HAVE_U_INT32_T
15 #undef HAVE_U_INT64_T
17 #if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
18 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
19 #else
20 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
21 #endif
23 #ifdef BROKEN_REALLOC
24 #define realloc(X, Y) isoc_realloc((X), (Y))
25 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
26 #endif
28 #ifdef VOID_RETSIGTYPE
29 #define SIGRETURN(x) return
30 #else
31 #define SIGRETURN(x) return (RETSIGTYPE)(x)
32 #endif
34 #define RCSID(msg) \
35 static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
37 #undef PROTOTYPES
39 /* Maximum values on all known systems */
40 #define MaxHostNameLen (64+4)
41 #define MaxPathLen (1024+4)
43 #if defined(HAVE_SGTTY_H) && defined(__NeXT__)
44 #define SGTTY
45 #endif
48 * Define NDBM if you are using the 4.3 ndbm library (which is part of
49 * libc). If not defined, 4.2 dbm will be assumed.
51 #if defined(HAVE_DBM_FIRSTKEY)
52 #define NDBM
53 #endif
55 /* telnet stuff ----------------------------------------------- */
57 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
58 #define AUTHENTICATION 1
59 #endif
61 /* Set this to the default system lead string for telnetd
62 * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
63 * %v=os-version, %t=tty, %h=hostname, %d=date and time
65 #undef USE_IM
67 /* Used with login -p */
68 #undef LOGIN_ARGS
70 /* set this to a sensible login */
71 #ifndef LOGIN_PATH
72 #define LOGIN_PATH BINDIR "/login"
73 #endif
75 /* random defines */
78 * Defining this enables lots of useful (and used) extensions on
79 * glibc-based systems such as Linux
82 #define _GNU_SOURCE