xpcom/xpcom-config.h.in
author Ms2ger <ms2ger@gmail.com>
Mon, 05 Jan 2015 19:18:58 +0100
changeset 238788 2d323b539934cfdebaae103df53b1ab3c719d4a0
parent 231166 48732e40875adf0f3826914849b50d5b6aac5fbf
child 258526 5de65d408dbccab3f52af0c04377b0f790bc7dac
permissions -rw-r--r--
Bug 1117068 - Part c: Remove NEED_CPP_UNUSED_IMPLEMENTATIONS; r=mshal It is only used in one place, and that place is better off with MOZ_DELETE.

/* 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 either __attribute__((malloc)) or nothing */
#undef NS_ATTR_MALLOC

/* Define to either __attribute__((warn_unused_result)) or nothing */
#undef NS_WARN_UNUSED_RESULT

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

#endif /* _XPCOM_CONFIG_H_ */