Bug 1020226 - Fix unhandled Promise rejection handling in workers. r=khuey, a=sledru
[gecko.git] / mozilla-config.h.in
blob6212581f51717ab6005e6c629068e1b7a57a7f03
1 /* List of defines generated by configure. Included with preprocessor flag,
2 * -include, to avoid long list of -D defines on the compile command-line.
3 * Do not edit.
4 */
6 #ifndef _MOZILLA_CONFIG_H_
7 #define _MOZILLA_CONFIG_H_
9 @ALLDEFINES@
12 * The c99 defining the limit macros (UINT32_MAX for example), says:
14 * C++ implementations should define these macros only when
15 * __STDC_LIMIT_MACROS is defined before <stdint.h> is included.
17 * The same also occurs with __STDC_CONSTANT_MACROS for the constant macros
18 * (INT8_C for example) used to specify a literal constant of the proper type,
19 * and with __STDC_FORMAT_MACROS for the format macros (PRId32 for example) used
20 * with the fprintf function family.
22 #define __STDC_LIMIT_MACROS
23 #define __STDC_CONSTANT_MACROS
24 #if !defined(__STDC_FORMAT_MACROS)
25 #define __STDC_FORMAT_MACROS
26 #endif
29 * Force-include Char16.h in order to define PRUnichar as char16_t everywhere.
30 * Note that this should be the first #include to make sure that prtypes.h does
31 * not attempt to define PRUnichar. This includes the following hunspell-specific
32 * includes.
34 * We don't use this to build elfhack and elf-dynstr-gc since those builds happen
35 * during the export tier. Also, disable this when building assembly files too.
37 #if !defined(ELFHACK_BUILD) && !defined(__ASSEMBLER__)
38 #include "mozilla/Char16.h"
39 #endif
42 * Force-include hunspell_alloc_hooks.h and hunspell_fopen_hooks.h for hunspell,
43 * so that we don't need to modify them directly.
45 * HUNSPELL_STATIC is defined in extensions/spellcheck/hunspell/src/Makefile.in,
46 * unless --enable-system-hunspell is defined.
48 #if defined(HUNSPELL_STATIC)
49 #include "hunspell_alloc_hooks.h"
50 #include "hunspell_fopen_hooks.h"
51 #endif
54 * Force-include sdkdecls.h for building the chromium sandbox code.
56 * CHROMIUM_SANDBOX_BUILD is defined in security/sandbox/moz.build.
57 * Note that this include path relies on the LOCAL_INCLUDES in that file.
59 #if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN)
60 #include "base/shim/sdkdecls.h"
61 #endif
63 #endif /* _MOZILLA_CONFIG_H_ */