mozilla-config.h.in 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. #ifndef MOZILLA_CONFIG_H
  6. #define MOZILLA_CONFIG_H
  7. #if defined(__clang__)
  8. #pragma clang diagnostic push
  9. #if __has_warning("-Wreserved-id-macro")
  10. #pragma clang diagnostic ignored "-Wreserved-id-macro"
  11. #endif
  12. #endif
  13. /* Expands to all the defines from configure. */
  14. #undef ALLDEFINES
  15. /*
  16. * The c99 defining the limit macros (UINT32_MAX for example), says:
  17. *
  18. * C++ implementations should define these macros only when
  19. * __STDC_LIMIT_MACROS is defined before <stdint.h> is included.
  20. *
  21. * The same also occurs with __STDC_CONSTANT_MACROS for the constant macros
  22. * (INT8_C for example) used to specify a literal constant of the proper type,
  23. * and with __STDC_FORMAT_MACROS for the format macros (PRId32 for example) used
  24. * with the fprintf function family.
  25. */
  26. #define __STDC_LIMIT_MACROS
  27. #define __STDC_CONSTANT_MACROS
  28. #if !defined(__STDC_FORMAT_MACROS)
  29. #define __STDC_FORMAT_MACROS
  30. #endif
  31. #if defined(__clang__)
  32. #pragma clang diagnostic pop
  33. #endif
  34. /*
  35. * Force-include Char16.h in order to define PRUnichar as char16_t everywhere.
  36. * Note that this should be the first #include to make sure that prtypes.h does
  37. * not attempt to define PRUnichar. This includes the following hunspell-specific
  38. * includes.
  39. */
  40. #if !defined(__ASSEMBLER__)
  41. #include "mozilla/Char16.h"
  42. #endif
  43. /*
  44. * Force-include hunspell_alloc_hooks.h and hunspell_fopen_hooks.h for hunspell,
  45. * so that we don't need to modify them directly.
  46. *
  47. * HUNSPELL_STATIC is defined in extensions/spellcheck/hunspell/src/Makefile.in,
  48. * unless --enable-system-hunspell is defined.
  49. */
  50. #if defined(HUNSPELL_STATIC)
  51. #include "hunspell_alloc_hooks.h"
  52. #include "hunspell_fopen_hooks.h"
  53. #endif
  54. /*
  55. * Force-include sdkdecls.h for building the chromium sandbox code.
  56. *
  57. * CHROMIUM_SANDBOX_BUILD is defined in security/sandbox/moz.build.
  58. * Note that this include path relies on the LOCAL_INCLUDES in that file.
  59. */
  60. #if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN)
  61. #include "base/win/sdkdecls.h"
  62. #endif
  63. #endif /* MOZILLA_CONFIG_H */