1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
9 * This header is the "anti-header" for mozalloc_macro_wrappers.h.
10 * Including it undefines all the macros defined by
11 * mozalloc_macro_wrappers.h.
14 #ifndef mozilla_mozalloc_macro_wrappers_h
15 # error "mozalloc macro wrappers haven't been defined"
19 * This allows the wrappers to be redefined by including
20 * mozalloc_macro_wrappers.h again
22 #undef mozilla_mozalloc_macro_wrappers_h
30 #if defined(HAVE_STRNDUP)
34 #if defined(HAVE_POSIX_MEMALIGN)
35 # undef posix_memalign
38 #if defined(HAVE_MEMALIGN)
42 #if defined(HAVE_VALLOC)