xpcom/xpcom-config.h.in
author Igor Bukanov <igor@mir2.org>
Sun, 05 Feb 2012 21:07:23 +0100
changeset 88070 41842e41890e96859313c1d6e8f2a1ba0c8f3463
parent 83289 d401db5bf9136ddc929fb280cc0af5f874b9d78b
child 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo

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