Fix typo in 9b54bd30006c008b4a951331b273613d5bac3abf
[pm.git] / mozilla-config.h.in
blobc427e2aa876cb52d6c5fb19bba1b349a7a392eaa
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 #if defined(__clang__)
10 #pragma clang diagnostic push
11 #if __has_warning("-Wreserved-id-macro")
12 #pragma clang diagnostic ignored "-Wreserved-id-macro"
13 #endif
14 #endif
16 @ALLDEFINES@
19 * The c99 defining the limit macros (UINT32_MAX for example), says:
21 * C++ implementations should define these macros only when
22 * __STDC_LIMIT_MACROS is defined before <stdint.h> is included.
24 * The same also occurs with __STDC_CONSTANT_MACROS for the constant macros
25 * (INT8_C for example) used to specify a literal constant of the proper type,
26 * and with __STDC_FORMAT_MACROS for the format macros (PRId32 for example) used
27 * with the fprintf function family.
29 #define __STDC_LIMIT_MACROS
30 #define __STDC_CONSTANT_MACROS
31 #if !defined(__STDC_FORMAT_MACROS)
32 #define __STDC_FORMAT_MACROS
33 #endif
35 #if defined(__clang__)
36 #pragma clang diagnostic pop
37 #endif
40 * Force-include Char16.h in order to define PRUnichar as char16_t everywhere.
41 * Note that this should be the first #include to make sure that prtypes.h does
42 * not attempt to define PRUnichar. This includes the following hunspell-specific
43 * includes.
45 * We don't use this to build elfhack and elf-dynstr-gc since those builds happen
46 * during the export tier. Also, disable this when building assembly files too.
48 #if !defined(ELFHACK_BUILD) && !defined(__ASSEMBLER__)
49 #include "mozilla/Char16.h"
50 #endif
53 * Force-include hunspell_alloc_hooks.h and hunspell_fopen_hooks.h for hunspell,
54 * so that we don't need to modify them directly.
56 * HUNSPELL_STATIC is defined in extensions/spellcheck/hunspell/src/Makefile.in,
57 * unless --enable-system-hunspell is defined.
59 #if defined(HUNSPELL_STATIC)
60 #include "hunspell_alloc_hooks.h"
61 #include "hunspell_fopen_hooks.h"
62 #endif
65 * Force-include sdkdecls.h for building the chromium sandbox code.
67 * CHROMIUM_SANDBOX_BUILD is defined in security/sandbox/moz.build.
68 * Note that this include path relies on the LOCAL_INCLUDES in that file.
70 #if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN)
71 #include "base/win/sdkdecls.h"
72 #endif
74 #endif /* MOZILLA_CONFIG_H */