s4:heimdal New files and supporting logic for heimdal update
[kai/samba.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 #ifndef HAVE_HEIMDAL_CONFIG_H
7 #define HAVE_HEIMDAL_CONFIG_H
8
9 #ifndef HAVE_STRERROR_R
10 #define HAVE_STRERROR_R
11 #endif
12
13 #include "include/config.h"
14 #include "../replace/replace.h"
15
16 #if !defined(HAVE_DIRFD) && !defined(HAVE_DIRFD_DECL) && !defined(dirfd)
17 #define dirfd(d) (-1)
18 #endif
19
20 #define RCSID(msg) struct __rcsid { int __rcsdi; }
21 #define KRB5
22
23 /* This needs to be defined for roken too */
24 #ifdef VOID_RETSIGTYPE
25 #define SIGRETURN(x) return
26 #else
27 #define SIGRETURN(x) return (RETSIGTYPE)(x)
28 #endif
29
30 #define HDB_DB_DIR ""
31
32 #undef HAVE_KRB5_ENCRYPT_BLOCK
33
34 /*Workaround for heimdal define vs samba define*/
35 #ifdef HAVE_LIBINTL_H
36 #define LIBINTL
37 #endif
38
39 #endif