summaryrefslogtreecommitdiff
path: root/xpcom/xpcom-config.h.in
blob: 5b18eba9c6c61d5d40c392f17115535cb755daa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* 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 if the c++ compiler supports a 2-byte wchar_t */
#undef HAVE_CPP_2BYTE_WCHAR_T

/* Define if the c++ compiler can resolve ambiguity with |using| */
#undef HAVE_CPP_AMBIGUITY_RESOLVING_USING

/* Define if the c++ compiler supports char16_t */
#undef HAVE_CPP_CHAR16_T

/* Define if a dyanmic_cast to void* gives the most derived object */
#undef HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR

/* Define if the c++ compiler has trouble comparing a constant
 * reference to a templatized class to zero
 */
#undef HAVE_CPP_TROUBLE_COMPARING_TO_ZERO

/* Define if the c++ compiler requires implementations of 
 * unused virtual methods
 */
#undef NEED_CPP_UNUSED_IMPLEMENTATIONS

/* Define to either <new> or <new.h> */
#undef NEW_H

/* Define to either __attribute__((malloc)) or nothing */
#undef NS_ATTR_MALLOC

/* Define to either __attribute__((warn_unused_result)) or nothing */
#undef NS_WARN_UNUSED_RESULT

#endif /* _XPCOM_CONFIG_H_ */