Convert mtime from a time_t to a struct timespec.
[Samba.git] / source4 / heimdal_build / config.h
blob0fdb292c9655963d307790cde0e64a23a7a918fc
1 /*
2 this is a replacement config.h for building the heimdal parts of the
3 Samba source tree
4 */
6 #ifndef HAVE_HEIMDAL_CONFIG_H
7 #define HAVE_HEIMDAL_CONFIG_H
9 #include "include/config.h"
10 #include "../replace/replace.h"
11 #include "../lib/util/attr.h"
12 #define HEIMDAL_NORETURN_ATTRIBUTE _NORETURN_
13 #define HEIMDAL_PRINTF_ATTRIBUTE(x) FORMAT_ATTRIBUTE(x)
14 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4"}
16 #define VERSION "Samba"
18 #define PACKAGE VERSION
19 #define PACKAGE_BUGREPORT "https://bugzilla.samba.org/"
20 #define PACKAGE_VERSION VERSION
22 #define RCSID(msg) struct __rcsid { int __rcsdi; }
23 #define KRB5
25 /* This needs to be defined for roken too */
26 #ifdef VOID_RETSIGTYPE
27 #define SIGRETURN(x) return
28 #else
29 #define SIGRETURN(x) return (RETSIGTYPE)(x)
30 #endif
32 #define HDB_DB_DIR ""
34 #undef HAVE_KRB5_ENCRYPT_BLOCK
36 /* Because it can't be defined in roken.h */
37 #ifndef USE_HCRYPTO_IMATH
38 #define USE_HCRYPTO_IMATH
39 #endif
41 /*Workaround for heimdal define vs samba define*/
42 #ifdef HAVE_LIBINTL_H
43 #define LIBINTL
44 #endif
46 /* heimdal now wants some atomic ops - ask for the non-atomic ones for Samba */
47 #define HEIM_BASE_NON_ATOMIC 1
49 #endif