1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xpcom/xpcom-config.h.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +/* Global defines needed by xpcom clients */ 1.9 + 1.10 +#ifndef _XPCOM_CONFIG_H_ 1.11 +#define _XPCOM_CONFIG_H_ 1.12 + 1.13 +/* Define this to throw() if the compiler complains about 1.14 + * constructors returning NULL 1.15 + */ 1.16 +#undef CPP_THROW_NEW 1.17 + 1.18 +/* Define if the c++ compiler can resolve ambiguity with |using| */ 1.19 +#undef HAVE_CPP_AMBIGUITY_RESOLVING_USING 1.20 + 1.21 +/* Define if a dyanmic_cast to void* gives the most derived object */ 1.22 +#undef HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1.23 + 1.24 +/* Define if the c++ compiler has trouble comparing a constant 1.25 + * reference to a templatized class to zero 1.26 + */ 1.27 +#undef HAVE_CPP_TROUBLE_COMPARING_TO_ZERO 1.28 + 1.29 +/* Define if the c++ compiler requires implementations of 1.30 + * unused virtual methods 1.31 + */ 1.32 +#undef NEED_CPP_UNUSED_IMPLEMENTATIONS 1.33 + 1.34 +/* Define to either __attribute__((malloc)) or nothing */ 1.35 +#undef NS_ATTR_MALLOC 1.36 + 1.37 +/* Define to either __attribute__((warn_unused_result)) or nothing */ 1.38 +#undef NS_WARN_UNUSED_RESULT 1.39 + 1.40 +#endif /* _XPCOM_CONFIG_H_ */