#endif /* HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL */
}
-#ifdef HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL
-
bool ctdb_serverids_exist(struct ctdbd_connection *conn,
const struct server_id *pids, unsigned num_pids,
bool *results)
{
+#ifndef HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL
+ return false;
+#else /* HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL */
unsigned i, num_received;
NTSTATUS status;
struct ctdb_vnn_list *vnns = NULL;
fail:
TALLOC_FREE(vnns);
return result;
-}
-
#endif /* HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL */
+}
/*
* Get a db path