Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | /* Global defines needed by xpcom clients */ |
michael@0 | 6 | |
michael@0 | 7 | #ifndef _XPCOM_CONFIG_H_ |
michael@0 | 8 | #define _XPCOM_CONFIG_H_ |
michael@0 | 9 | |
michael@0 | 10 | /* Define this to throw() if the compiler complains about |
michael@0 | 11 | * constructors returning NULL |
michael@0 | 12 | */ |
michael@0 | 13 | #undef CPP_THROW_NEW |
michael@0 | 14 | |
michael@0 | 15 | /* Define if the c++ compiler can resolve ambiguity with |using| */ |
michael@0 | 16 | #undef HAVE_CPP_AMBIGUITY_RESOLVING_USING |
michael@0 | 17 | |
michael@0 | 18 | /* Define if a dyanmic_cast to void* gives the most derived object */ |
michael@0 | 19 | #undef HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR |
michael@0 | 20 | |
michael@0 | 21 | /* Define if the c++ compiler has trouble comparing a constant |
michael@0 | 22 | * reference to a templatized class to zero |
michael@0 | 23 | */ |
michael@0 | 24 | #undef HAVE_CPP_TROUBLE_COMPARING_TO_ZERO |
michael@0 | 25 | |
michael@0 | 26 | /* Define if the c++ compiler requires implementations of |
michael@0 | 27 | * unused virtual methods |
michael@0 | 28 | */ |
michael@0 | 29 | #undef NEED_CPP_UNUSED_IMPLEMENTATIONS |
michael@0 | 30 | |
michael@0 | 31 | /* Define to either __attribute__((malloc)) or nothing */ |
michael@0 | 32 | #undef NS_ATTR_MALLOC |
michael@0 | 33 | |
michael@0 | 34 | /* Define to either __attribute__((warn_unused_result)) or nothing */ |
michael@0 | 35 | #undef NS_WARN_UNUSED_RESULT |
michael@0 | 36 | |
michael@0 | 37 | #endif /* _XPCOM_CONFIG_H_ */ |