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:
parent
d21514eb7a
commit
be6949362f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user