Bug 1145389 - Add gralloc allocation requet size check. r=nical, a=2.1+
[gecko.git] / xpcom / xpcom-config.h.in
blobeb101c18e9bc7aab8b5970be6ef62868e3dc46e0
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/. */
5 /* Global defines needed by xpcom clients */
7 #ifndef _XPCOM_CONFIG_H_
8 #define _XPCOM_CONFIG_H_
10 /* Define this to throw() if the compiler complains about
11 * constructors returning NULL
13 #undef CPP_THROW_NEW
15 /* Define if the c++ compiler can resolve ambiguity with |using| */
16 #undef HAVE_CPP_AMBIGUITY_RESOLVING_USING
18 /* Define if a dyanmic_cast to void* gives the most derived object */
19 #undef HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR
21 /* Define if the c++ compiler has trouble comparing a constant
22 * reference to a templatized class to zero
24 #undef HAVE_CPP_TROUBLE_COMPARING_TO_ZERO
26 /* Define if the c++ compiler requires implementations of
27 * unused virtual methods
29 #undef NEED_CPP_UNUSED_IMPLEMENTATIONS
31 /* Define to either __attribute__((malloc)) or nothing */
32 #undef NS_ATTR_MALLOC
34 /* Define to either __attribute__((warn_unused_result)) or nothing */
35 #undef NS_WARN_UNUSED_RESULT
37 /* Define to a string describing the XPCOM ABI in use */
38 #undef TARGET_XPCOM_ABI
40 #endif /* _XPCOM_CONFIG_H_ */