summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tools
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/tools')
-rw-r--r--source4/lib/tdb/tools/tdbbackup.c2
-rw-r--r--source4/lib/tdb/tools/tdbdump.c2
-rw-r--r--source4/lib/tdb/tools/tdbtest.c2
-rw-r--r--source4/lib/tdb/tools/tdbtorture.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/tdb/tools/tdbbackup.c b/source4/lib/tdb/tools/tdbbackup.c
index 1a0e1c1588..4cb6a8cfdd 100644
--- a/source4/lib/tdb/tools/tdbbackup.c
+++ b/source4/lib/tdb/tools/tdbbackup.c
@@ -41,7 +41,7 @@
*/
-#ifdef STANDALONE
+#ifndef _SAMBA_BUILD_
#if HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/source4/lib/tdb/tools/tdbdump.c b/source4/lib/tdb/tools/tdbdump.c
index dbb647cbbf..dd018af6f5 100644
--- a/source4/lib/tdb/tools/tdbdump.c
+++ b/source4/lib/tdb/tools/tdbdump.c
@@ -18,7 +18,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifdef STANDALONE
+#ifndef _SAMBA_BUILD_
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/source4/lib/tdb/tools/tdbtest.c b/source4/lib/tdb/tools/tdbtest.c
index 6c20a5dc77..f4854b5931 100644
--- a/source4/lib/tdb/tools/tdbtest.c
+++ b/source4/lib/tdb/tools/tdbtest.c
@@ -1,6 +1,6 @@
/* a test program for tdb - the trivial database */
-#ifdef STANDALONE
+#ifndef _SAMBA_BUILD_
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c
index e90a967138..890e25af50 100644
--- a/source4/lib/tdb/tools/tdbtorture.c
+++ b/source4/lib/tdb/tools/tdbtorture.c
@@ -2,7 +2,7 @@
writers - that stresses the locking code. Build with TDB_DEBUG=1
for best effect */
-#ifdef STANDALONE
+#ifndef _SAMBA_BUILD_
#include <stdlib.h>
#include <time.h>
#include <stdio.h>