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
#define BROWSER_CHROME_URL_QUOTED ""
#define BUILD_CTYPES 1
#define CROSS_COMPILE 1
#define EARLY_BETA_OR_EARLIER 1
#define ENABLE_EXPLICIT_RESOURCE_MANAGEMENT 1
#define ENABLE_SHARED_MEMORY 1
#define ENABLE_SPIDERMONKEY_TELEMETRY 1
#define ENABLE_SYSTEM_EXTENSION_DIRS 1
#define ENABLE_TESTS 1
#define ENABLE_WASM_BRANCH_HINTING 1
#define ENABLE_WASM_JSPI 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_TYPE_REFLECTIONS 1
#define ENABLE_WEBDRIVER 1
#define FMT_API MFBT_API
#define FMT_ENFORCE_COMPILE_STRING 1
#define FMT_USE_EXCEPTIONS 0
#define FMT_USE_LOCALE 0
#define FMT_USE_WRITE_CONSOLE 1
#define FORCE_PR_LOG 1
#define GTEST_HAS_RTTI 0
#define HAVE_64BIT_BUILD 1
#define HAVE_ALLOCA_H 1
#define HAVE_ARC4RANDOM 1
#define HAVE_ARC4RANDOM_BUF 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_DLADDR 1
#define HAVE_FTS_H 1
#define HAVE_GETC_UNLOCKED 1
#define HAVE_GETOPT_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GMTIME_R 1
#define HAVE_INTTYPES_H 1
#define HAVE_LOCALECONV 1
#define HAVE_LOCALTIME_R 1
#define HAVE_LSTAT64 1
#define HAVE_LUTIMES 1
#define HAVE_MALLOC_MALLOC_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NL_TYPES_H 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_PTHREAD_GETNAME_NP 1
#define HAVE_PTHREAD_H 1
#define HAVE_SA_LEN 1
#define HAVE_SCONN_LEN 1
#define HAVE_SETPRIORITY 1
#define HAVE_SIN6_LEN 1
#define HAVE_SIN_LEN 1
#define HAVE_STAT64 1
#define HAVE_STATFS 1
#define HAVE_STATFS64 1
#define HAVE_STATVFS 1
#define HAVE_STDINT_H 1
#define HAVE_STRERROR 1
#define HAVE_STRNDUP 1
#define HAVE_SYSCALL 1
#define HAVE_SYSIOCCOM_H 1
#define HAVE_SYS_IOCCOM_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_SYS_QUEUE_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_THREAD_TLS_KEYWORD 1
#define HAVE_TM_ZONE_TM_GMTOFF 1
#define HAVE_UNISTD_H 1
#define HAVE_UNWIND_H 1
#define HAVE_VISIBILITY_ATTRIBUTE 1
#define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
#define HAVE__UNWIND_BACKTRACE 1
#define JSON_USE_EXCEPTION 0
#define JS_64BIT 1
#define JS_CODEGEN_ARM64 1
#define JS_DEBUG 1
#define JS_DEFAULT_JITREPORT_GRANULARITY 3
#define JS_DISASM_ARM64 1
#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 JS_USE_APPLE_FAST_WX 1
#define MALLOC_H <malloc/malloc.h>
#define MALLOC_USABLE_SIZE_CONST_PTR const
#define MOZILLA_UAVERSION "135.0"
#define MOZILLA_VERSION "135.0a1"
#define MOZJS_MAJOR_VERSION 135
#define MOZJS_MINOR_VERSION 0
#define MOZ_AARCH64_JSCVT 1
#define MOZ_APPLEMEDIA 1
#define MOZ_APP_UA_VERSION "135.0a1"
#define MOZ_AUTH_EXTENSION 1
#define MOZ_AV1 1
#define MOZ_BACKGROUNDTASKS 1
#define MOZ_BUILD_APP mobile/ios
#define MOZ_CLANG_PLUGIN 1
#define MOZ_DAV1D_ASM 1
#define MOZ_DEBUG 1
#define MOZ_DEBUG_RUST 1
#define MOZ_DEMANGLE_SYMBOLS 1
#define MOZ_DIAGNOSTIC_ASSERT_ENABLED 1
#define MOZ_DLL_PREFIX "lib"
#define MOZ_DLL_SUFFIX ".dylib"
#define MOZ_DOM_STREAMS 1
#define MOZ_DUMP_PAINTING 1
#define MOZ_ENABLE_SKIA_PDF 1
#define MOZ_EXECUTION_TRACING 1
#define MOZ_FFMPEG 1
#define MOZ_GECKOVIEW 1
#define MOZ_GECKOVIEW_HISTORY 1
#define MOZ_GECKO_PROFILER 1
#define MOZ_ICU4X 1
#define MOZ_JXL 1
#define MOZ_LAYOUT_DEBUGGER 1
#define MOZ_LOGGING 1
#define MOZ_MACBUNDLE_ID org.mozilla.debug
#define MOZ_MEMORY 1
#define MOZ_PROFILER_MEMORY 1
#define MOZ_PROFILING 1
#define MOZ_PROXY_DIRECT_FAILOVER 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_SAMPLE_TYPE_FLOAT32 1
#define MOZ_SANDBOX 1
#define MOZ_SELECTABLE_PROFILES 1
#define MOZ_STATIC_JS 1
#define MOZ_TREE_PIXMAN 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_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_WEBSPEECH 1
#define MOZ_WEBSPEECH_TEST_BACKEND 1
#define MOZ_WIDGET_UIKIT 1
#define NIGHTLY_BUILD 1
#define NO_NSPR_10_SUPPORT 1
#define NS_BUILD_REFCNT_LOGGING 1
#define STATIC_JS_API 1
#define STDC_HEADERS 1
#define TARGET_XPCOM_ABI "aarch64-gcc3"
#define U_STATIC_IMPLEMENTATION 1
#define U_USING_ICU_NAMESPACE 0
#define WASM_CODEGEN_DEBUG 1
#define WASM_HAS_HEAPREG 1
#define XP_DARWIN 1
#define XP_IOS 1
#define XP_UNIX 1
/*
* 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 */