talloc/testsuite: remove #if _SAMBA_BUILD_==3
authorStefan Metzmacher <metze@samba.org>
Fri, 21 Oct 2011 11:17:22 +0000 (13:17 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 22 Oct 2011 07:28:26 +0000 (09:28 +0200)
We don't include "includes.h" anymore...

metze

lib/talloc/testsuite.c

index 003d74bf6dc31adafcda2c7bd322aa5dd6bfcc3f..7860ad2be67776e1a876d4f28c89a7f306a7d356 100644 (file)
@@ -57,15 +57,6 @@ static double timeval_elapsed(struct timeval *tv)
                return false; \
        }
 
-#if _SAMBA_BUILD_==3
-#ifdef malloc
-#undef malloc
-#endif
-#ifdef strdup
-#undef strdup
-#endif
-#endif
-
 #define CHECK_SIZE(test, ptr, tsize) do { \
        if (talloc_total_size(ptr) != (tsize)) { \
                printf("failed: %s [\n%s: wrong '%s' tree size: got %u  expected %u\n]\n", \