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 ANDROID 1
#define BROWSER_CHROME_URL chrome://browser/content/browser.xul
#define BROWSER_CHROME_URL_QUOTED "chrome://browser/content/browser.xul"
#define BUILD_ARM_NEON 1
#define BUILD_CTYPES 1
#define CROSS_COMPILE 1
#define EARLY_BETA_OR_EARLIER 1
#define EDITLINE 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_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_MULTI_MEMORY 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_CLONE 0
#define GTEST_HAS_RTTI 0
#define GTEST_OS_LINUX_ANDROID 1
#define GTEST_USE_OWN_TR1_TUPLE 1
#define HAVE_ALLOCA_H 1
#define HAVE_ARC4RANDOM 1
#define HAVE_ARC4RANDOM_BUF 1
#define HAVE_ARM_NEON 1
#define HAVE_ARM_SIMD 1
#define HAVE_BYTESWAP_H 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_DLADDR 1
#define HAVE_DLOPEN 1
#define HAVE_EVENTFD 1
#define HAVE_FTS_H 1
#define HAVE_FT_BITMAP_SIZE_Y_PPEM 1
#define HAVE_FT_GLYPHSLOT_EMBOLDEN 1
#define HAVE_FT_LOAD_SFNT_TABLE 1
#define HAVE_GETC_UNLOCKED 1
#define HAVE_GETOPT_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETTID 1
#define HAVE_GMTIME_R 1
#define HAVE_INTTYPES_H 1
#define HAVE_LINUX_IF_ADDR_H 1
#define HAVE_LINUX_JOYSTICK_H 1
#define HAVE_LINUX_PERF_EVENT_H 1
#define HAVE_LINUX_QUOTA_H 1
#define HAVE_LINUX_RTNETLINK_H 1
#define HAVE_LOCALECONV 1
#define HAVE_LOCALTIME_R 1
#define HAVE_LSTAT64 1
#define HAVE_MALLINFO 1
#define HAVE_MALLOC_H 1
#define HAVE_MALLOC_USABLE_SIZE 1
#define HAVE_MEMALIGN 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NL_TYPES_H 1
#define HAVE_POSIX_FADVISE 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC 1
#define HAVE_PTHREAD_H 1
#define HAVE_SETPRIORITY 1
#define HAVE_STAT64 1
#define HAVE_STATFS 1
#define HAVE_STATFS64 1
#define HAVE_STATVFS 1
#define HAVE_STATVFS64 1
#define HAVE_STDINT_H 1
#define HAVE_STRERROR 1
#define HAVE_STRNDUP 1
#define HAVE_SYSCALL 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_SYS_QUEUE_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_TM_ZONE_TM_GMTOFF 1
#define HAVE_TRUNCATE64 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_CODEGEN_ARM 1
#define JS_DEBUG 1
#define JS_DEFAULT_JITREPORT_GRANULARITY 3
#define JS_DISASM_ARM 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_NUNBOX32 1
#define JS_STRUCTURED_SPEW 1
#define MALLOC_H <malloc.h>
#define MALLOC_USABLE_SIZE_CONST_PTR const
#define MOZILLA_OFFICIAL 1
#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_ANDROID_CONTENT_SERVICE_COUNT 40
#define MOZ_ANDROID_HISTORY 1
#define MOZ_APP_UA_NAME "Firefox"
#define MOZ_APP_UA_VERSION "127.0a1"
#define MOZ_AUTH_EXTENSION 1
#define MOZ_AV1 1
#define MOZ_BACKGROUNDTASKS 1
#define MOZ_BUILD_APP mobile/android
#define MOZ_CLANG_PLUGIN 1
#define MOZ_CRASHREPORTER 1
#define MOZ_DATA_REPORTING 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 ".so"
#define MOZ_DOM_STREAMS 1
#define MOZ_DUMP_PAINTING 1
#define MOZ_ENABLE_SKIA_PDF 1
#define MOZ_FFVPX_AUDIOONLY 1
#define MOZ_GECKO_PROFILER 1
#define MOZ_GECKO_PROFILER_PARSE_ELF 1
#define MOZ_GFX_OPTIMIZE_MOBILE 1
#define MOZ_GLEAN_ANDROID 1
#define MOZ_ICU4X 1
#define MOZ_IGNORE_PAINT_WILL_RESAMPLE 1
#define MOZ_INSTRUMENT_EVENT_LOOP 1
#define MOZ_JXL 1
#define MOZ_LAYOUT_DEBUGGER 1
#define MOZ_LINKER 1
#define MOZ_LOGGING 1
#define MOZ_MACBUNDLE_ID org.mozilla.firefoxnightlydebug
#define MOZ_MEMORY 1
#define MOZ_MOZSEARCH_PLUGIN 1
#define MOZ_NO_SMART_CARDS 1
#define MOZ_OXIDIZED_BREAKPAD 1
#define MOZ_PDF_PRINTING 1
#define MOZ_PEERCONNECTION 1
#define MOZ_PERFETTO 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_SCTP 1
#define MOZ_SERVICES_HEALTHREPORT 1
#define MOZ_SRTP 1
#define MOZ_STATIC_JS 1
#define MOZ_TELEMETRY_ON_BY_DEFAULT 1
#define MOZ_TELEMETRY_REPORTING 1
#define MOZ_THUMB2 1
#define MOZ_TREE_FREETYPE 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_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_WIDGET_ANDROID 1
#define NIGHTLY_BUILD 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 "arm-eabi-gcc3"
#define U_STATIC_IMPLEMENTATION 1
#define U_USING_ICU_NAMESPACE 0
#define WASM_CODEGEN_DEBUG 1
#define WASM_HAS_HEAPREG 1
#define XP_LINUX 1
#define XP_UNIX 1
#define ZLIB_IN_MOZGLUE 1
#define _LIBCPP_ALWAYS_INLINE
#define _LIBCPP_HIDE_FROM_ABI __attribute__((__exclude_from_explicit_instantiation__))
#define _LIBCPP_INLINE_VISIBILITY
#define _REENTRANT 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 */