diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure index cebdfc52ad76..29d804d44a0a 100644 --- a/build/moz.configure/init.configure +++ b/build/moz.configure/init.configure @@ -724,15 +724,6 @@ set_define("HAVE_64BIT_BUILD", have_64_bit) add_old_configure_assignment("HAVE_64BIT_BUILD", have_64_bit) -@depends(host) -def host_os_kernel_major_version(host): - versions = host.raw_os.split(".") - version = "".join(x for x in versions[0] if x.isdigit()) - return version - - -set_config("HOST_MAJOR_VERSION", host_os_kernel_major_version) - # Autoconf needs these set diff --git a/config/external/nspr/pr/moz.build b/config/external/nspr/pr/moz.build index dc9fa0aefc36..5fdc3c9f1bc2 100644 --- a/config/external/nspr/pr/moz.build +++ b/config/external/nspr/pr/moz.build @@ -39,10 +39,7 @@ elif CONFIG["OS_TARGET"] == "Darwin": # See also IncreaseDescriptorLimits in toolkit/xre/nsAppRunner.cpp DEFINES["FD_SETSIZE"] = 4096 DEFINES["_DARWIN_UNLIMITED_SELECT"] = True - if not CONFIG["HOST_MAJOR_VERSION"]: - DEFINES["HAS_CONNECTX"] = True - elif CONFIG["HOST_MAJOR_VERSION"] >= "15": - DEFINES["HAS_CONNECTX"] = True + DEFINES["HAS_CONNECTX"] = True DEFINES["DARWIN"] = True DEFINES["HAVE_BSD_FLOCK"] = True DEFINES["HAVE_SOCKLEN_T"] = True diff --git a/netwerk/protocol/http/moz.build b/netwerk/protocol/http/moz.build index 05b52c17ea3f..5d4b6a198004 100644 --- a/netwerk/protocol/http/moz.build +++ b/netwerk/protocol/http/moz.build @@ -212,10 +212,4 @@ XPCOM_MANIFESTS += [ "components.conf", ] -if CONFIG["OS_TARGET"] == "Darwin": - if not CONFIG["HOST_MAJOR_VERSION"]: - DEFINES["HAS_CONNECTX"] = True - elif CONFIG["HOST_MAJOR_VERSION"] >= "15": - DEFINES["HAS_CONNECTX"] = True - include("/tools/fuzzing/libfuzzer-config.mozbuild")