diff options
-rw-r--r-- | source4/lib/tdb/tools/tdbtorture.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c index d88211c4a7..9b0a60348c 100644 --- a/source4/lib/tdb/tools/tdbtorture.c +++ b/source4/lib/tdb/tools/tdbtorture.c @@ -2,9 +2,8 @@ writers - that stresses the locking code. */ -#define _GNU_SOURCE - #ifndef _SAMBA_BUILD_ +#define _GNU_SOURCE #include <stdlib.h> #include <time.h> #include <stdio.h> @@ -46,7 +45,6 @@ #define CULL_PROB 100 #define KEYLEN 3 #define DATALEN 100 -#define LOCKLEN 20 static struct tdb_context *db; static int in_transaction; |