summaryrefslogtreecommitdiffstats
path: root/source4/heimdal_build/config.h
blob: 71ef3e983f9fa072161ab03e87f137564a5d0fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
  this is a replacement config.h for building the heimdal parts of the
  Samba source tree
*/

#ifndef HAVE_HEIMDAL_CONFIG_H
#define HAVE_HEIMDAL_CONFIG_H

#include "include/config.h"
#include "../replace/replace.h"
#include "../lib/util/attr.h"
#define HEIMDAL_NORETURN_ATTRIBUTE _NORETURN_
#define HEIMDAL_PRINTF_ATTRIBUTE(x) FORMAT_ATTRIBUTE(x)
#define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4"}

#define VERSION "Samba"

#define PACKAGE VERSION
#define PACKAGE_BUGREPORT "https://bugzilla.samba.org/"
#define PACKAGE_VERSION VERSION

#define RCSID(msg) struct __rcsid { int __rcsdi; }
#define KRB5

/* This needs to be defined for roken too */
#ifdef VOID_RETSIGTYPE
#define SIGRETURN(x) return
#else
#define SIGRETURN(x) return (RETSIGTYPE)(x)
#endif

#define HDB_DB_DIR ""

#undef HAVE_KRB5_ENCRYPT_BLOCK

/* Because it can't be defined in roken.h */
#ifndef USE_HCRYPTO_IMATH
#define USE_HCRYPTO_IMATH
#endif

/*Workaround for heimdal define vs samba define*/
#ifdef HAVE_LIBINTL_H
#define LIBINTL
#endif

#endif