/* 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 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 #define EDITLINE 1 #define ENABLE_EXPLICIT_RESOURCE_MANAGEMENT 1 #define ENABLE_SHARED_MEMORY 1 #define ENABLE_SYSTEM_EXTENSION_DIRS 1 #define ENABLE_WASM_AVX 1 #define ENABLE_WASM_JSPI 1 #define ENABLE_WASM_MOZ_INTGEMM 1 #define ENABLE_WASM_RELAXED_SIMD 1 #define ENABLE_WASM_RESIZABLE_ARRAYBUFFER 1 #define ENABLE_WASM_SIMD 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 GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_14 #define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_14 #define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_42 #define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_42 #define GL_PROVIDER_EGL 1 #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_CPUID_H 1 #define HAVE_DLADDR 1 #define HAVE_DLFCN_H 1 #define HAVE_EVENTFD 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_LUTIMES 1 #define HAVE_MALLOC_H 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_GETNAME_NP 1 #define HAVE_PTHREAD_H 1 #define HAVE_SETPRIORITY 1 #define HAVE_STATFS 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_BYTEORDER_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_SYS_VFS_H 1 #define HAVE_THREAD_TLS_KEYWORD 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_X64 1 #define JS_DEFAULT_JITREPORT_GRANULARITY 3 #define JS_HAS_CTYPES 1 #define JS_HAS_INTL_API 1 #define JS_PUNBOX64 1 #define MALLOC_H #define MALLOC_USABLE_SIZE_CONST_PTR #define MOZILLA_OFFICIAL 1 #define MOZILLA_UAVERSION "147.0" #define MOZILLA_VERSION "147.0.3" #define MOZJS_MAJOR_VERSION 147 #define MOZJS_MINOR_VERSION 0 #define MOZ_ACCESSIBILITY_ATK 1 #define MOZ_APP_UA_VERSION "147.0.3" #define MOZ_AUTH_EXTENSION 1 #define MOZ_AV1 1 #define MOZ_BACKGROUNDTASKS 1 #define MOZ_BLOCK_PROFILE_DOWNGRADE 1 #define MOZ_BUILD_APP browser #define MOZ_DATA_REPORTING 1 #define MOZ_DAV1D_ASM 1 #define MOZ_DEDICATED_PROFILES 1 #define MOZ_DLL_PREFIX "lib" #define MOZ_DLL_SUFFIX ".so" #define MOZ_ENABLE_DBUS 1 #define MOZ_ENABLE_VAAPI 1 #define MOZ_FFMPEG 1 #define MOZ_GLUE_IN_PROGRAM 1 #define MOZ_HAS_REMOTE 1 #define MOZ_HAVE_FREETYPE2 1 #define MOZ_ICU4X 1 #define MOZ_LOGGING 1 #define MOZ_MEMORY 1 #define MOZ_NORMANDY 1 #define MOZ_OFFICIAL_BRANDING 1 #define MOZ_PDF_PRINTING 1 #define MOZ_PLACES 1 #define MOZ_PROXY_DIRECT_FAILOVER 1 #define MOZ_PULSEAUDIO 1 #define MOZ_REAL_TIME_TRACING 1 #define MOZ_REPLACE_MALLOC 1 #define MOZ_REQUIRE_SIGNING 1 #define MOZ_SAMPLE_TYPE_FLOAT32 1 #define MOZ_SELECTABLE_PROFILES 1 #define MOZ_SERVICES_HEALTHREPORT 1 #define MOZ_STATIC_JS 1 #define MOZ_TELEMETRY_REPORTING 1 #define MOZ_UPDATE_CHANNEL default #define MOZ_USER_DIR "mozilla" #define MOZ_VERIFY_MAR_SIGNATURE 1 #define MOZ_WEBSPEECH 1 #define MOZ_WEBSPEECH_TEST_BACKEND 1 #define MOZ_WIDGET_GTK 1 #define MOZ_X11 1 #define NO_NSPR_10_SUPPORT 1 #define NS_PRINTING 1 #define NS_PRINT_PREVIEW 1 #define RELEASE_OR_BETA 1 #define STATIC_JS_API 1 #define STDC_HEADERS 1 #define TARGET_XPCOM_ABI "x86_64-gcc3" #define USE_FC_FREETYPE 1 #define U_STATIC_IMPLEMENTATION 1 #define U_USING_ICU_NAMESPACE 0 #define WASM_HAS_HEAPREG 1 #define XP_SOLARIS 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 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 /* * CHROMIUM_SANDBOX_BUILD is defined in security/sandbox/moz.build. */ #if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN) #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. * We need to include excpt.h first, so that we can then override it. */ #include #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 */