michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* Global defines needed by xpcom clients */ michael@0: michael@0: #ifndef _XPCOM_CONFIG_H_ michael@0: #define _XPCOM_CONFIG_H_ michael@0: michael@0: /* Define this to throw() if the compiler complains about michael@0: * constructors returning NULL michael@0: */ michael@0: #undef CPP_THROW_NEW michael@0: michael@0: /* Define if the c++ compiler can resolve ambiguity with |using| */ michael@0: #undef HAVE_CPP_AMBIGUITY_RESOLVING_USING michael@0: michael@0: /* Define if a dyanmic_cast to void* gives the most derived object */ michael@0: #undef HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR michael@0: michael@0: /* Define if the c++ compiler has trouble comparing a constant michael@0: * reference to a templatized class to zero michael@0: */ michael@0: #undef HAVE_CPP_TROUBLE_COMPARING_TO_ZERO michael@0: michael@0: /* Define if the c++ compiler requires implementations of michael@0: * unused virtual methods michael@0: */ michael@0: #undef NEED_CPP_UNUSED_IMPLEMENTATIONS michael@0: michael@0: /* Define to either __attribute__((malloc)) or nothing */ michael@0: #undef NS_ATTR_MALLOC michael@0: michael@0: /* Define to either __attribute__((warn_unused_result)) or nothing */ michael@0: #undef NS_WARN_UNUSED_RESULT michael@0: michael@0: #endif /* _XPCOM_CONFIG_H_ */