summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-21 13:16:44 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-22 09:28:26 +0200
commit061dad7727bfef1903f072fbbe97f2875428059c (patch)
tree63e9e528e9f9cf3f7948bddf75895ca12cec7811 /auth
parentf4593181876f7a9ef55ceee8d1a20369197a63ba (diff)
downloadsamba-061dad7727bfef1903f072fbbe97f2875428059c.tar.gz
samba-061dad7727bfef1903f072fbbe97f2875428059c.tar.bz2
samba-061dad7727bfef1903f072fbbe97f2875428059c.zip
auth/gensec: replace #if _SAMBA_BUILD_ == 4 by a feature test
metze
Diffstat (limited to 'auth')
-rw-r--r--auth/gensec/gensec_start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/gensec/gensec_start.c b/auth/gensec/gensec_start.c
index d5a5dc83bb..c38b97050f 100644
--- a/auth/gensec/gensec_start.c
+++ b/auth/gensec/gensec_start.c
@@ -876,7 +876,7 @@ _PUBLIC_ NTSTATUS gensec_init(void)
{
static bool initialized = false;
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
-#if _SAMBA_BUILD_ == 4
+#ifdef STATIC_gensec_MODULES
STATIC_gensec_MODULES_PROTO;
init_module_fn static_init[] = { STATIC_gensec_MODULES };
#else