- Complete re-write of sasc.
[dragonfly.git] / crypto / heimdal / lib / roken / acconfig.h
1 @BOTTOM@
2
3 #ifdef BROKEN_REALLOC
4 #define realloc(X, Y) isoc_realloc((X), (Y))
5 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
6 #endif
7
8 #ifdef VOID_RETSIGTYPE
9 #define SIGRETURN(x) return
10 #else
11 #define SIGRETURN(x) return (RETSIGTYPE)(x)
12 #endif
13
14 #define RCSID(msg) \
15 static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
16
17 #undef PROTOTYPES
18
19 /* Maximum values on all known systems */
20 #define MaxHostNameLen (64+4)
21 #define MaxPathLen (1024+4)
22
23 /*
24  * Define NDBM if you are using the 4.3 ndbm library (which is part of
25  * libc).  If not defined, 4.2 dbm will be assumed.
26  */
27 #if defined(HAVE_DBM_FIRSTKEY)
28 #define NDBM
29 #endif
30
31 /*
32  * Defining this enables lots of useful (and used) extensions on
33  * glibc-based systems such as Linux
34  */
35
36 #define _GNU_SOURCE