mozilla-config.h.in

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* List of defines generated by configure. Included with preprocessor flag,
michael@0 2 * -include, to avoid long list of -D defines on the compile command-line.
michael@0 3 * Do not edit.
michael@0 4 */
michael@0 5
michael@0 6 #ifndef _MOZILLA_CONFIG_H_
michael@0 7 #define _MOZILLA_CONFIG_H_
michael@0 8
michael@0 9 @ALLDEFINES@
michael@0 10
michael@0 11 /*
michael@0 12 * The c99 defining the limit macros (UINT32_MAX for example), says:
michael@0 13 *
michael@0 14 * C++ implementations should define these macros only when
michael@0 15 * __STDC_LIMIT_MACROS is defined before <stdint.h> is included.
michael@0 16 *
michael@0 17 * The same also occurs with __STDC_CONSTANT_MACROS for the constant macros
michael@0 18 * (INT8_C for example) used to specify a literal constant of the proper type,
michael@0 19 * and with __STDC_FORMAT_MACROS for the format macros (PRId32 for example) used
michael@0 20 * with the fprintf function family.
michael@0 21 */
michael@0 22 #define __STDC_LIMIT_MACROS
michael@0 23 #define __STDC_CONSTANT_MACROS
michael@0 24 #if !defined(__STDC_FORMAT_MACROS)
michael@0 25 #define __STDC_FORMAT_MACROS
michael@0 26 #endif
michael@0 27
michael@0 28 /*
michael@0 29 * Force-include Char16.h in order to define PRUnichar as char16_t everywhere.
michael@0 30 * Note that this should be the first #include to make sure that prtypes.h does
michael@0 31 * not attempt to define PRUnichar. This includes the following hunspell-specific
michael@0 32 * includes.
michael@0 33 *
michael@0 34 * We don't use this to build elfhack and elf-dynstr-gc since those builds happen
michael@0 35 * during the export tier. Also, disable this when building assembly files too.
michael@0 36 */
michael@0 37 #if !defined(ELFHACK_BUILD) && !defined(__ASSEMBLER__)
michael@0 38 #include "mozilla/Char16.h"
michael@0 39 #endif
michael@0 40
michael@0 41 /*
michael@0 42 * Force-include hunspell_alloc_hooks.h and hunspell_fopen_hooks.h for hunspell,
michael@0 43 * so that we don't need to modify them directly.
michael@0 44 *
michael@0 45 * HUNSPELL_STATIC is defined in extensions/spellcheck/hunspell/src/Makefile.in,
michael@0 46 * unless --enable-system-hunspell is defined.
michael@0 47 */
michael@0 48 #if defined(HUNSPELL_STATIC)
michael@0 49 #include "hunspell_alloc_hooks.h"
michael@0 50 #include "hunspell_fopen_hooks.h"
michael@0 51 #endif
michael@0 52
michael@0 53 /*
michael@0 54 * Force-include sdkdecls.h for building the chromium sandbox code.
michael@0 55 *
michael@0 56 * CHROMIUM_SANDBOX_BUILD is defined in security/sandbox/moz.build.
michael@0 57 * Note that this include path relies on the LOCAL_INCLUDES in that file.
michael@0 58 */
michael@0 59 #if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN)
michael@0 60 #include "base/shim/sdkdecls.h"
michael@0 61 #endif
michael@0 62
michael@0 63 #endif /* _MOZILLA_CONFIG_H_ */
michael@0 64

mercurial