|
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 */ |
|
5 |
|
6 #ifndef _MOZILLA_CONFIG_H_ |
|
7 #define _MOZILLA_CONFIG_H_ |
|
8 |
|
9 @ALLDEFINES@ |
|
10 |
|
11 /* |
|
12 * The c99 defining the limit macros (UINT32_MAX for example), says: |
|
13 * |
|
14 * C++ implementations should define these macros only when |
|
15 * __STDC_LIMIT_MACROS is defined before <stdint.h> is included. |
|
16 * |
|
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. |
|
21 */ |
|
22 #define __STDC_LIMIT_MACROS |
|
23 #define __STDC_CONSTANT_MACROS |
|
24 #if !defined(__STDC_FORMAT_MACROS) |
|
25 #define __STDC_FORMAT_MACROS |
|
26 #endif |
|
27 |
|
28 /* |
|
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. |
|
33 * |
|
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. |
|
36 */ |
|
37 #if !defined(ELFHACK_BUILD) && !defined(__ASSEMBLER__) |
|
38 #include "mozilla/Char16.h" |
|
39 #endif |
|
40 |
|
41 /* |
|
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. |
|
44 * |
|
45 * HUNSPELL_STATIC is defined in extensions/spellcheck/hunspell/src/Makefile.in, |
|
46 * unless --enable-system-hunspell is defined. |
|
47 */ |
|
48 #if defined(HUNSPELL_STATIC) |
|
49 #include "hunspell_alloc_hooks.h" |
|
50 #include "hunspell_fopen_hooks.h" |
|
51 #endif |
|
52 |
|
53 /* |
|
54 * Force-include sdkdecls.h for building the chromium sandbox code. |
|
55 * |
|
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. |
|
58 */ |
|
59 #if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN) |
|
60 #include "base/shim/sdkdecls.h" |
|
61 #endif |
|
62 |
|
63 #endif /* _MOZILLA_CONFIG_H_ */ |
|
64 |