Recognize REDIRECT_MALLOC_IN_HEADER macro
authorIvan Maidanski <ivmai@mail.ru>
Sun, 25 Nov 2012 08:07:13 +0000 (12:07 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 11 May 2015 15:59:31 +0000 (18:59 +0300)
commit25d17297f9e258185e2f8ca29029ef3c89dba83d
tree3db7fd4e449d9ed6b6b1624678634d721ede5d2a
parent01d2c1b9d2e14cb7492734346c224e764db483ed
Recognize REDIRECT_MALLOC_IN_HEADER macro

* include/private/gcconfig.h: Do not issue error on REDIRECT_MALLOC
and THREADS if REDIRECT_MALLOC_IN_HEADER defined.
* malloc.c (malloc, calloc, strdup, strndup, free): Do not define if
REDIRECT_MALLOC_IN_HEADER.
* mallocx.c (realloc): Likewise.

Conflicts:

    include/gc.h
    include/private/gcconfig.h
    malloc.c
    mallocx.c
include/private/gcconfig.h
malloc.c
mallocx.c