1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/heimdal_build/config.h
Stefan Metzmacher edecdab58f s4:heimdal_build: move #undef __APPLE__ to the end of roken.h
Some system includes need __APPLE__ defined.

metze
2010-05-14 10:37:22 +02:00

32 lines
597 B
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
#include "include/config.h"
#include "../replace/replace.h"
#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
/*Workaround for heimdal define vs samba define*/
#ifdef HAVE_LIBINTL_H
#define LIBINTL
#endif
#endif