pthreadpool: fix helgrind error in pthreadpool_free()
[Samba.git] / source4 / heimdal_build / config.h
blob160b835b0f377416a516b9fe54f0ecc5aeaff49c
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 HEIMDAL_UNUSED_ATTRIBUTE _UNUSED_
16 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4"}
18 #define VERSION "Samba"
20 #define PACKAGE VERSION
21 #define PACKAGE_BUGREPORT "https://bugzilla.samba.org/"
22 #define PACKAGE_VERSION VERSION
24 #define RCSID(msg) struct __rcsid { int __rcsdi; }
25 #define KRB5
27 /* This needs to be defined for roken too */
28 #ifdef VOID_RETSIGTYPE
29 #define SIGRETURN(x) return
30 #else
31 #define SIGRETURN(x) return (RETSIGTYPE)(x)
32 #endif
34 #define HDB_DB_DIR ""
36 #undef HAVE_KRB5_ENCRYPT_BLOCK
38 /* Because it can't be defined in roken.h */
39 #ifndef USE_HCRYPTO_IMATH
40 #define USE_HCRYPTO_IMATH
41 #endif
43 /*Workaround for heimdal define vs samba define*/
44 #if defined(HAVE_LIBINTL_H) && defined(HAVE_BINDTEXTDOMAIN) &&\
45 defined(HAVE_TEXTDOMAIN)
46 #define LIBINTL
47 #endif
49 /* heimdal now wants some atomic ops - ask for the non-atomic ones for Samba */
50 #define HEIM_BASE_NON_ATOMIC 1
52 /* lib/replace provides an XSI Compatable strerror_r so use that */
53 #define STRERROR_R_PROTO_COMPATIBLE
55 /* lib/replace provides a closefrom */
56 #ifndef HAVE_CLOSEFROM
57 #define HAVE_CLOSEFROM 1
58 #endif
60 #endif