talloc: remove unused build dependecies to samba
authorStefan Metzmacher <metze@samba.org>
Mon, 3 Aug 2009 09:33:06 +0000 (11:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Aug 2009 16:24:44 +0000 (18:24 +0200)
metze

lib/talloc/talloc.c

index b78a5d7feb9273c2215cf303bcdf7abcd7ee6565..a79c8d05b23f3d0d084bba2fa95a2b4502bfe1c0 100644 (file)
   inspired by http://swapped.cc/halloc/
 */
 
-#ifdef _SAMBA_BUILD_
-#include "version.h"
-#if (SAMBA_VERSION_MAJOR<4)
-#include "includes.h"
-/* This is to circumvent SAMBA3's paranoid malloc checker. Here in this file
- * we trust ourselves... */
-#ifdef malloc
-#undef malloc
-#endif
-#ifdef realloc
-#undef realloc
-#endif
-#define _TALLOC_SAMBA3
-#endif /* (SAMBA_VERSION_MAJOR<4) */
-#endif /* _SAMBA_BUILD_ */
-
-#ifndef _TALLOC_SAMBA3
 #include "replace.h"
 #include "talloc.h"
-#endif /* not _TALLOC_SAMBA3 */
 
 /* use this to force every realloc to change the pointer, to stress test
    code that might not cope */