Skip to content

Commit

Permalink
Bug 778058 - Don't #define _malloc_message to malloc_message in jemal…
Browse files Browse the repository at this point in the history
…loc: FreeBSD's jemalloc-3.0.0 exports malloc_message (with different arguments) in stdlib.h. r=jlebar
  • Loading branch information
Jan Beich committed Jul 29, 2012
1 parent a63583d commit db67fd6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions memory/mozjemalloc/jemalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1533,8 +1533,6 @@ wrtmessage(const char *p1, const char *p2, const char *p3, const char *p4)
_write(STDERR_FILENO, p4, (unsigned int) strlen(p4));
}

#define _malloc_message malloc_message

void (*_malloc_message)(const char *p1, const char *p2, const char *p3,
const char *p4) = wrtmessage;

Expand Down

0 comments on commit db67fd6

Please sign in to comment.