1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

r6654: Make talloc.c 4.0-ready

This commit is contained in:
Volker Lendecke 2005-05-07 21:18:27 +00:00 committed by Gerald (Jerry) Carter
parent d21514eb7a
commit be6949362f

View File

@ -29,6 +29,7 @@
#ifdef _SAMBA_BUILD_
#include "includes.h"
#if (SAMBA_VERSION_MAJOR<4)
/* This is to circumvent SAMBA3's paranoid malloc checker. Here in this file
* we trust ourselves... */
#ifdef malloc
@ -37,6 +38,7 @@
#ifdef realloc
#undef realloc
#endif
#endif
#else
#include <stdio.h>
#include <stdlib.h>