michael@0: /* List of defines generated by configure. Included with preprocessor flag, michael@0: * -include, to avoid long list of -D defines on the compile command-line. michael@0: * Do not edit. michael@0: */ michael@0: michael@0: #ifndef _MOZILLA_CONFIG_H_ michael@0: #define _MOZILLA_CONFIG_H_ michael@0: michael@0: @ALLDEFINES@ michael@0: michael@0: /* michael@0: * The c99 defining the limit macros (UINT32_MAX for example), says: michael@0: * michael@0: * C++ implementations should define these macros only when michael@0: * __STDC_LIMIT_MACROS is defined before is included. michael@0: * michael@0: * The same also occurs with __STDC_CONSTANT_MACROS for the constant macros michael@0: * (INT8_C for example) used to specify a literal constant of the proper type, michael@0: * and with __STDC_FORMAT_MACROS for the format macros (PRId32 for example) used michael@0: * with the fprintf function family. michael@0: */ michael@0: #define __STDC_LIMIT_MACROS michael@0: #define __STDC_CONSTANT_MACROS michael@0: #if !defined(__STDC_FORMAT_MACROS) michael@0: #define __STDC_FORMAT_MACROS michael@0: #endif michael@0: michael@0: /* michael@0: * Force-include Char16.h in order to define PRUnichar as char16_t everywhere. michael@0: * Note that this should be the first #include to make sure that prtypes.h does michael@0: * not attempt to define PRUnichar. This includes the following hunspell-specific michael@0: * includes. michael@0: * michael@0: * We don't use this to build elfhack and elf-dynstr-gc since those builds happen michael@0: * during the export tier. Also, disable this when building assembly files too. michael@0: */ michael@0: #if !defined(ELFHACK_BUILD) && !defined(__ASSEMBLER__) michael@0: #include "mozilla/Char16.h" michael@0: #endif michael@0: michael@0: /* michael@0: * Force-include hunspell_alloc_hooks.h and hunspell_fopen_hooks.h for hunspell, michael@0: * so that we don't need to modify them directly. michael@0: * michael@0: * HUNSPELL_STATIC is defined in extensions/spellcheck/hunspell/src/Makefile.in, michael@0: * unless --enable-system-hunspell is defined. michael@0: */ michael@0: #if defined(HUNSPELL_STATIC) michael@0: #include "hunspell_alloc_hooks.h" michael@0: #include "hunspell_fopen_hooks.h" michael@0: #endif michael@0: michael@0: /* michael@0: * Force-include sdkdecls.h for building the chromium sandbox code. michael@0: * michael@0: * CHROMIUM_SANDBOX_BUILD is defined in security/sandbox/moz.build. michael@0: * Note that this include path relies on the LOCAL_INCLUDES in that file. michael@0: */ michael@0: #if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN) michael@0: #include "base/shim/sdkdecls.h" michael@0: #endif michael@0: michael@0: #endif /* _MOZILLA_CONFIG_H_ */ michael@0: