Bug 1328416. Add src param to track where compat reports are coming from. r=sebastian
[gecko.git] / mozilla-config.h.in
blob7484180b0db64102d0a1883a50e33148cda2f1f6
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 // Expands to all the defines from configure.
17 #undef ALLDEFINES
20 * The c99 defining the limit macros (UINT32_MAX for example), says:
22 * C++ implementations should define these macros only when
23 * __STDC_LIMIT_MACROS is defined before <stdint.h> is included.
25 * The same also occurs with __STDC_CONSTANT_MACROS for the constant macros
26 * (INT8_C for example) used to specify a literal constant of the proper type,
27 * and with __STDC_FORMAT_MACROS for the format macros (PRId32 for example) used
28 * with the fprintf function family.
30 #define __STDC_LIMIT_MACROS
31 #define __STDC_CONSTANT_MACROS
32 #if !defined(__STDC_FORMAT_MACROS)
33 #define __STDC_FORMAT_MACROS
34 #endif
36 #if defined(__clang__)
37 #pragma clang diagnostic pop
38 #endif
41 * Force-include Char16.h in order to define PRUnichar as char16_t everywhere.
42 * Note that this should be the first #include to make sure that prtypes.h does
43 * not attempt to define PRUnichar. This includes the following hunspell-specific
44 * includes.
46 #if !defined(__ASSEMBLER__)
47 #include "mozilla/Char16.h"
48 #endif
51 * Force-include hunspell_alloc_hooks.h and hunspell_fopen_hooks.h for hunspell,
52 * so that we don't need to modify them directly.
54 * HUNSPELL_STATIC is defined in extensions/spellcheck/hunspell/src/Makefile.in,
55 * unless --enable-system-hunspell is defined.
57 #if defined(HUNSPELL_STATIC)
58 #include "hunspell_alloc_hooks.h"
59 #include "hunspell_fopen_hooks.h"
60 #endif
63 * Force-include sdkdecls.h for building the chromium sandbox code.
65 * CHROMIUM_SANDBOX_BUILD is defined in security/sandbox/moz.build.
66 * Note that this include path relies on the LOCAL_INCLUDES in that file.
68 #if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN)
69 #include "base/win/sdkdecls.h"
70 #endif
72 #endif /* MOZILLA_CONFIG_H */