comparison mem.c @ 629:097c9438d7f4 libavutil

10l: Add #undefs for system free/malloc/realloc, which must be used here.
author diego
date Sun, 25 Jan 2009 22:59:05 +0000
parents 51e8796fe8fc
children 8c48a1b999a3
comparison
equal deleted inserted replaced
628:51e8796fe8fc 629:097c9438d7f4
32 #if HAVE_MALLOC_H 32 #if HAVE_MALLOC_H
33 #include <malloc.h> 33 #include <malloc.h>
34 #endif 34 #endif
35 35
36 #include "mem.h" 36 #include "mem.h"
37
38 /* here we can use OS dependent allocation functions */
39 #undef free
40 #undef malloc
41 #undef realloc
37 42
38 /* you can redefine av_malloc and av_free in your project to use your 43 /* you can redefine av_malloc and av_free in your project to use your
39 memory allocator. You do not need to suppress this file because the 44 memory allocator. You do not need to suppress this file because the
40 linker will do it automatically */ 45 linker will do it automatically */
41 46