diff options
Diffstat (limited to 'source3/lib/cluster_support.c')
-rw-r--r-- | source3/lib/cluster_support.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/source3/lib/cluster_support.c b/source3/lib/cluster_support.c index afe2260917..6a5f91d1d3 100644 --- a/source3/lib/cluster_support.c +++ b/source3/lib/cluster_support.c @@ -20,18 +20,11 @@ #include <tdb.h> #include "cluster_support.h" -#ifdef HAVE_CTDB_H +#ifdef CLUSTER_SUPPORT #include <ctdb.h> -#define CLUSTER_SUPPORT 1 -#endif - -#ifdef HAVE_CTDB_PROTOCOL_H #include <ctdb_protocol.h> -#else -#ifdef HAVE_CTDB_PRIVATE_H #include <ctdb_private.h> #endif -#endif bool cluster_support_available(void) { @@ -53,15 +46,6 @@ const char *cluster_support_features(void) #else " NONE\n" #endif -#ifdef HAVE_CTDB_H - _LINE_DEF(HAVE_CTDB_H) -#endif -#ifdef HAVE_CTDB_PRIVATE_H - _LINE_DEF(HAVE_CTDB_PRIVATE_H) -#endif -#ifdef HAVE_CTDB_PROTOCOL_H - _LINE_DEF(HAVE_CTDB_PROTOCOL_H) -#endif #ifdef CTDB_SOCKET _LINE_STR(CTDB_SOCKET) #endif |