xpcom/xpcom-config.h.in
author Jared Wein <jwein@mozilla.com>
Mon, 24 Oct 2016 13:14:19 -0400
changeset 320382 62c5218b7325723c8d88d5c4cfe4fa241f905406
parent 239495 79bdb9d8ca5bf2effdc988ba8b9982a2d9fc8455
child 328431 77717bd5534f6b8c6d170a697a13fd9e61627852
permissions -rw-r--r--
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8 MozReview-Commit-ID: 7Gx90a5y8t6

/* 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/. */

/* Global defines needed by xpcom clients */

#ifndef _XPCOM_CONFIG_H_
#define _XPCOM_CONFIG_H_

/* Define this to throw() if the compiler complains about 
 * constructors returning NULL
 */
#undef CPP_THROW_NEW

/* Define if the c++ compiler can resolve ambiguity with |using| */
#undef HAVE_CPP_AMBIGUITY_RESOLVING_USING

/* Define if a dyanmic_cast to void* gives the most derived object */
#undef HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR

/* Define to a string describing the XPCOM ABI in use */
#undef TARGET_XPCOM_ABI

#endif /* _XPCOM_CONFIG_H_ */