r8278: this should fix the heimdal h_errno warnings
[sfrench/samba-autobuild/.git] / source4 / heimdal_build / config.h
1 /*
2   this is a replacement config.h for building the heimdal parts of the
3   Samba source tree
4 */
5
6 /* bring in the samba4 config.h */
7 #include "include/config.h"
8
9 #ifdef HAVE_KRB5
10
11 #define RCSID(msg) \
12 static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
13
14 #ifdef VOID_RETSIGTYPE
15 #define SIGRETURN(x) return
16 #else
17 #define SIGRETURN(x) return (RETSIGTYPE)(x)
18 #endif
19
20 #ifndef MAXPATHLEN
21 #define MAXPATHLEN (1024+4)
22 #endif
23
24 /* path to sysconf - should we force this to samba LIBDIR ? */
25 #define SYSCONFDIR "/etc"
26
27
28 /* Maximum values on all known systems */
29 #define MaxHostNameLen (64+4)
30 #define MaxPathLen (1024+4)
31
32 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.7rc1"}
33
34 /* even if we do have dlopen, we don't want heimdal using it */
35 #undef HAVE_DLOPEN
36
37 #define VERSION "Samba"
38
39 #define ROKEN_LIB_FUNCTION
40
41 /* these should be done with configure tests */
42 #define KRB5
43 #define HAVE_INET_ATON
44 #define HAVE_LONG_LONG
45 #define HAVE_GETHOSTNAME
46 #define HAVE_SOCKLEN_T
47 #define HAVE_GETNAMEINFO
48 #define HAVE_STRUCT_WINSIZE
49 #define HAVE_STRUCT_SOCKADDR_STORAGE
50 #define HAVE_STRUCT_ADDRINFO
51 #define HAVE_GAI_STRERROR
52
53 #include <sys/types.h>
54 #include "lib/replace/replace.h"
55 #endif