git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
061dad7
)
talloc/testsuite: remove #if _SAMBA_BUILD_==3
author
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Oct 2011 11:17:22 +0000
(13:17 +0200)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/lib/talloc/testsuite.c
b/lib/talloc/testsuite.c
index 003d74bf6dc31adafcda2c7bd322aa5dd6bfcc3f..7860ad2be67776e1a876d4f28c89a7f306a7d356 100644
(file)
--- a/
lib/talloc/testsuite.c
+++ b/
lib/talloc/testsuite.c
@@
-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", \