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