1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-11 00:23:51 +03:00
Files
samba-mirror/source/heimdal_build/config.h
Stefan Metzmacher 0e1ad08a85 r12899: - fix warnings on AIX
- fix compilation of auth/kerberos/krb5_init_context.c on AIX

metze
2007-10-10 13:51:00 -05:00

77 lines
1.5 KiB
C

/*
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 1
/* bring in the samba4 config.h */
#include "include/config.h"
#ifdef HAVE_KRB5
#define RCSID(msg) \
static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
#ifdef VOID_RETSIGTYPE
#define SIGRETURN(x) return
#else
#define SIGRETURN(x) return (RETSIGTYPE)(x)
#endif
/* path to sysconf - should we force this to samba LIBDIR ? */
#define SYSCONFDIR "/etc"
/* Maximum values on all known systems */
#define MaxHostNameLen (64+4)
#define MaxPathLen (1024+4)
#define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.7rc1"}
/* even if we do have dlopen, we don't want heimdal using it */
#undef HAVE_DLOPEN
#define VERSION "Samba"
#define ROKEN_LIB_FUNCTION
/* these should be done with configure tests */
#define KRB5
#include <sys/types.h>
#include <stdarg.h>
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include "lib/replace/replace.h"
#endif
/* we need to tell roken about the functions that Samba replaces in lib/replace */
#ifndef HAVE_SETEUID
#define HAVE_SETEUID 1
#endif
#define GETHOSTBYADDR_PROTO_COMPATIBLE
#define GETSERVBYNAME_PROTO_COMPATIBLE
#define OPENLOG_PROTO_COMPATIBLE
#define GETSOCKNAME_PROTO_COMPATIBLE
#ifndef HAVE_SOCKLEN_T
#define HAVE_SOCKLEN_T
#endif
#ifndef HAVE_STRNDUP
#define HAVE_STRNDUP
#endif
#ifndef HAVE_SOCKLEN_T
#define HAVE_SOCKLEN_T
#endif
#ifndef HAVE_SSIZE_T
#define HAVE_SSIZE_T
#endif
#endif