xpcom/xpcom-config.h.in
author Matt Brubeck <mbrubeck@mozilla.com>
Tue, 09 Aug 2011 13:03:27 -0700
changeset 72767 7894b27a5a9ada2904ae06e9cd60ac12363ebc13
parent 71696 d959aeca8307517e81edca5cba749dfb12b27214
child 76469 706c0a4feec232daab369c002d8af05c2e2fe2b9
permissions -rw-r--r--
Bug 671555 - Set the correct extensions.checkCompatibility pref in mobile tester tools [r=mfinkle, a=johnath]

/* 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 supports changing access with |using| */
#undef HAVE_CPP_ACCESS_CHANGING_USING

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

/* Define if the c++ compiler has builtin Bool type */
#undef HAVE_CPP_BOOL

/* 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 supports the |explicit| keyword */
#undef HAVE_CPP_EXPLICIT

/* Define if the c++ compiler supports the modern template 
 * specialization syntax 
 */
#undef HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX

/* Define if the c++ compiler supports the |std| namespace */
#undef HAVE_CPP_NAMESPACE_STD

/* Define if the c++ compiler supports reinterpret_cast */
#undef HAVE_CPP_NEW_CASTS

/* Define if the c++ compiler supports partial template specialization */
#undef HAVE_CPP_PARTIAL_SPECIALIZATION

/* 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 supports the |typename| keyword */
#undef HAVE_CPP_TYPENAME

/* Define if the stanard template operator!=() is ambiguous */
#undef HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL

/* Define if statvfs() is available */
#undef HAVE_STATVFS

/* 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_ */