diff -r 000000000000 -r 6474c204b198 memory/replace/dummy/dummy_replace_malloc.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/memory/replace/dummy/dummy_replace_malloc.c Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,15 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#include "mozilla/Types.h" + +/* + * Dummy functions for linking purpose on OSX with older XCode. + * See details in configure.in, under "Replace-malloc Mac linkage quirks" + */ +#define MALLOC_FUNCS MALLOC_FUNCS_ALL +#define MALLOC_DECL(name, ...) \ + MOZ_EXPORT void replace_ ## name() { } + +#include "malloc_decls.h"