xpcom/xpcom-config.h.in
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 30 Jan 2019 14:25:33 +0000
changeset 456233 699954de14e37c54a20651b01351365c30c5f932
parent 328431 77717bd5534f6b8c6d170a697a13fd9e61627852
child 487931 9983709a8828cf38cb8b92b0bdf84ca81c49d143
permissions -rw-r--r--
Bug 1523851 - Remove the dynamic_cast<void*> test. r=froydnj It relies on AC_TRY_RUN, which doesn't work on cross-compiles. What this means is that the feature has been disabled on mac builds on automation ever since we switched to cross-compiles. It's still enabled on local mac builds because the test runs there, and returns "yes". It also means it's disabled on Android, where it probably works (at least debug tests on try don't complain). It also doesn't currently run on Windows because it's in a skipped section on Windows, but if moved out of that section, the test returns "no". So, we remove any configure test for the feature, in favor of preprocessor checks in nsTraceRefcnt.cpp. Depends on D18055 Differential Revision: https://phabricator.services.mozilla.com/D18056

/* 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 to a string describing the XPCOM ABI in use */
#undef TARGET_XPCOM_ABI

#endif /* _XPCOM_CONFIG_H_ */