Bug 946257 - Update NetUtils and WifiUtils to support KK. r=fabrice, vchang.
[gecko.git] / mozilla-config.h.in
blob3dfcd3c1ef3f04c6a38d9e73d6adc22834727586
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
53 #endif /* _MOZILLA_CONFIG_H_ */