summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/replace/replace.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/replace/replace.c')
-rw-r--r--source4/lib/ldb/replace/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/replace/replace.c b/source4/lib/ldb/replace/replace.c
index a63613fc10..faa5771a76 100644
--- a/source4/lib/ldb/replace/replace.c
+++ b/source4/lib/ldb/replace/replace.c
@@ -23,7 +23,7 @@
#include "includes.h"
#include "ldb/include/includes.h"
-#if !defined(HAVE_STRNLEN) && !defined(_SAMBA_BUILD_)
+#ifndef HAVE_STRNLEN
/**
Some platforms don't have strnlen
**/