2 this is a replacement config.h for building the heimdal parts of the
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; }
25 /* This needs to be defined for roken too */
26 #ifdef VOID_RETSIGTYPE
27 #define SIGRETURN(x) return
29 #define SIGRETURN(x) return (RETSIGTYPE)(x)
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
41 /*Workaround for heimdal define vs samba define*/
46 /* heimdal now wants some atomic ops - ask for the non-atomic ones for Samba */
47 #define HEIM_BASE_NON_ATOMIC 1