Copy as Markdown

Other Tools

/* List of defines generated by configure. Included with preprocessor flag,
* -include, to avoid long list of -D defines on the compile command-line.
* Do not edit.
*/
#ifndef MOZILLA_CONFIG_H
#define MOZILLA_CONFIG_H
#if defined(__clang__)
#pragma clang diagnostic push
#if __has_warning("-Wreserved-id-macro")
#pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#endif
/* Expands to all the defines from configure. */
#define A11Y_LOG 1
#define ACCESSIBILITY 1
#define BROWSER_CHROME_URL chrome://browser/content/browser.xhtml
#define BROWSER_CHROME_URL_QUOTED "chrome://browser/content/browser.xhtml"
#define BUILD_CTYPES 1
#define CROSS_COMPILE 1
#define EARLY_BETA_OR_EARLIER 1
#define ENABLE_JSON_PARSE_WITH_SOURCE 1
#define ENABLE_SHARED_MEMORY 1
#define ENABLE_SPIDERMONKEY_TELEMETRY 1
#define ENABLE_SYSTEM_EXTENSION_DIRS 1
#define ENABLE_TESTS 1
#define ENABLE_WASM_AVX 1
#define ENABLE_WASM_BRANCH_HINTING 1
#define ENABLE_WASM_GC 1
#define ENABLE_WASM_JS_STRING_BUILTINS 1
#define ENABLE_WASM_MEMORY64 1
#define ENABLE_WASM_MEMORY_CONTROL 1
#define ENABLE_WASM_MOZ_INTGEMM 1
#define ENABLE_WASM_MULTI_MEMORY 1
#define ENABLE_WASM_RELAXED_SIMD 1
#define ENABLE_WASM_SIMD 1
#define ENABLE_WASM_TAIL_CALLS 1
#define ENABLE_WASM_TYPE_REFLECTIONS 1
#define ENABLE_WEBDRIVER 1
#define FORCE_PR_LOG 1
#define GTEST_HAS_RTTI 0
#define HAVE_64BIT_BUILD 1
#define HAVE_ALIGNED_MALLOC 1
#define HAVE_CPUID_H 1
#define HAVE_FORCEINLINE 1
#define HAVE_INTTYPES_H 1
#define HAVE_IO_H 1
#define HAVE_ISATTY 1
#define HAVE_LOCALECONV 1
#define HAVE_MALLOC_H 1
#define HAVE_SEH_EXCEPTIONS 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UINT64_T 1
#define HAVE__GETC_NOLOCK 1
#define JSON_USE_EXCEPTION 0
#define JS_64BIT 1
#define JS_CODEGEN_X64 1
#define JS_DEBUG 1
#define JS_DEFAULT_JITREPORT_GRANULARITY 3
#define JS_GC_ZEAL 1
#define JS_HAS_CTYPES 1
#define JS_HAS_INTL_API 1
#define JS_JITSPEW 1
#define JS_MASM_VERBOSE 1
#define JS_PUNBOX64 1
#define JS_STRUCTURED_SPEW 1
#define MALLOC_H <malloc.h>
#define MALLOC_USABLE_SIZE_CONST_PTR const
#define MOZILLA_UAVERSION "127.0"
#define MOZILLA_VERSION "127.0a1"
#define MOZILLA_VERSION_U 127.0a1
#define MOZJS_MAJOR_VERSION 127
#define MOZJS_MINOR_VERSION 0
#define MOZ_AARCH64_JSCVT 0
#define MOZ_APP_UA_NAME ""
#define MOZ_APP_UA_VERSION "127.0a1"
#define MOZ_AUTH_EXTENSION 1
#define MOZ_AV1 1
#define MOZ_BACKGROUNDTASKS 1
#define MOZ_BITS_DOWNLOAD 1
#define MOZ_BLOCK_PROFILE_DOWNGRADE 1
#define MOZ_BUILD_APP browser
#define MOZ_BUNDLED_FONTS 1
#define MOZ_CLANG_PLUGIN 1
#define MOZ_CRASHREPORTER 1
#define MOZ_DATA_REPORTING 1
#define MOZ_DAV1D_ASM 1
#define MOZ_DEBUG 1
#define MOZ_DEBUG_RUST 1
#define MOZ_DEDICATED_PROFILES 1
#define MOZ_DIAGNOSTIC_ASSERT_ENABLED 1
#define MOZ_DLL_PREFIX ""
#define MOZ_DLL_SUFFIX ".dll"
#define MOZ_DMD 1
#define MOZ_DOM_STREAMS 1
#define MOZ_DUMP_PAINTING 1
#define MOZ_GECKO_PROFILER 1
#define MOZ_HAS_REMOTE 1
#define MOZ_ICU4X 1
#define MOZ_INSTRUMENT_EVENT_LOOP 1
#define MOZ_JXL 1
#define MOZ_LAUNCHER_PROCESS 1
#define MOZ_LAYOUT_DEBUGGER 1
#define MOZ_LOGGING 1
#define MOZ_MACBUNDLE_ID org.mozilla.nightlydebug
#define MOZ_MAINTENANCE_SERVICE 1
#define MOZ_MEMORY 1
#define MOZ_MOZSEARCH_PLUGIN 1
#define MOZ_NORMANDY 1
#define MOZ_PDF_PRINTING 1
#define MOZ_PEERCONNECTION 1
#define MOZ_PLACES 1
#define MOZ_PROFILER_MEMORY 1
#define MOZ_PROFILING 1
#define MOZ_PROXY_DIRECT_FAILOVER 1
#define MOZ_RAW 1
#define MOZ_REAL_TIME_TRACING 1
#define MOZ_REFLOW_PERF 1
#define MOZ_REFLOW_PERF_DSP 1
#define MOZ_REPLACE_MALLOC 1
#define MOZ_RUST_SIMD 1
#define MOZ_SAMPLE_TYPE_FLOAT32 1
#define MOZ_SANDBOX 1
#define MOZ_SCTP 1
#define MOZ_SERVICES_HEALTHREPORT 1
#define MOZ_SRTP 1
#define MOZ_STATIC_JS 1
#define MOZ_TREE_PIXMAN 1
#define MOZ_UPDATER 1
#define MOZ_UPDATE_CHANNEL default
#define MOZ_USER_DIR "Mozilla"
#define MOZ_USING_WASM_SANDBOXING 1
#define MOZ_VERIFY_MAR_SIGNATURE 1
#define MOZ_VORBIS 1
#define MOZ_VTUNE 1
#define MOZ_WASM_SANDBOXING_EXPAT 1
#define MOZ_WASM_SANDBOXING_GRAPHITE 1
#define MOZ_WASM_SANDBOXING_HUNSPELL 1
#define MOZ_WASM_SANDBOXING_OGG 1
#define MOZ_WASM_SANDBOXING_SOUNDTOUCH 1
#define MOZ_WASM_SANDBOXING_WOFF2 1
#define MOZ_WEBRTC 1
#define MOZ_WEBRTC_ASSERT_ALWAYS 1
#define MOZ_WEBRTC_SIGNALING 1
#define MOZ_WEBSPEECH 1
#define MOZ_WEBSPEECH_TEST_BACKEND 1
#define MOZ_WMF 1
#define MOZ_WMF_CDM 1
#define MOZ_WMF_MEDIA_ENGINE 1
#define NECKO_WIFI 1
#define NIGHTLY_BUILD 1
#define NOMINMAX 1
#define NO_NSPR_10_SUPPORT 1
#define NS_BUILD_REFCNT_LOGGING 1
#define NS_PRINTING 1
#define NS_PRINT_PREVIEW 1
#define STATIC_JS_API 1
#define STDC_HEADERS 1
#define TARGET_XPCOM_ABI "x86_64-msvc"
#define U_STATIC_IMPLEMENTATION 1
#define U_USING_ICU_NAMESPACE 0
#define WASM_CODEGEN_DEBUG 1
#define WASM_HAS_HEAPREG 1
#define WIN32_LEAN_AND_MEAN 1
#define XP_WIN 1
#define _AMD64_ 1
#define _CRT_NONSTDC_NO_WARNINGS 1
#define _CRT_SECURE_NO_WARNINGS 1
#define _SILENCE_CLANG_COROUTINE_MESSAGE
#define _USE_MATH_DEFINES 1
#define _WINDOWS 1
#if !defined(WIN32)
#define WIN32 1
#endif
#if !defined(WINVER)
#define WINVER 0x0A00
#endif
#if !defined(_WIN32_IE)
#define _WIN32_IE 0x0A00
#endif
#if !defined(_WIN32_WINNT)
#define _WIN32_WINNT 0x0A00
#endif
/*
* The c99 defining the limit macros (UINT32_MAX for example), says:
*
* C++ implementations should define these macros only when
* __STDC_LIMIT_MACROS is defined before <stdint.h> is included.
*
* The same also occurs with __STDC_CONSTANT_MACROS for the constant macros
* (INT8_C for example) used to specify a literal constant of the proper type,
* and with __STDC_FORMAT_MACROS for the format macros (PRId32 for example) used
* with the fprintf function family.
*/
#define __STDC_LIMIT_MACROS
#if !defined(__STDC_CONSTANT_MACROS)
#define __STDC_CONSTANT_MACROS
#endif
#if !defined(__STDC_FORMAT_MACROS)
#define __STDC_FORMAT_MACROS
#endif
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
/*
* Force-include sdkdecls.h for building the chromium sandbox code.
*
* CHROMIUM_SANDBOX_BUILD is defined in security/sandbox/moz.build.
* Note that this include path relies on the LOCAL_INCLUDES in that file.
*/
#if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN)
#include "base/win/sdkdecls.h"
#ifdef __MINGW32__
/*
* MinGW doesn't support __try / __except. There are a few mechanisms available
* to hack around it and pseudo-support it, but these are untested in Firefox.
* What is tested (and works) is replacing them with if(true) and else.
*/
#define __try if(true)
#define __except(x) else
#ifdef GetExceptionCode
/* #undef GetExceptionCode */
#endif
#define GetExceptionCode() 0
#endif /* __MINGW32__ */
#endif /* defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN) */
#endif /* MOZILLA_CONFIG_H */