From ebf4f559e08bd55a92753ddf64d49ab151396fb1 Mon Sep 17 00:00:00 2001 From: Basilisk-Dev Date: Mon, 28 Aug 2023 12:54:45 -0400 Subject: Issue #2058 - Apply patches from dbsoft to fix Mac and FreeBSD builds --- netwerk/sctp/src/moz.build | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'netwerk/sctp/src') diff --git a/netwerk/sctp/src/moz.build b/netwerk/sctp/src/moz.build index d163a3d7e1..25341c723f 100644 --- a/netwerk/sctp/src/moz.build +++ b/netwerk/sctp/src/moz.build @@ -55,31 +55,15 @@ for var in ('SCTP_SIMPLE_ALLOCATOR', DEFINES['INET6'] = 1 if CONFIG['OS_TARGET'] == 'WINNT': - DEFINES['__Userspace_os_Windows'] = 1 DEFINES['_LIB'] = 1 -else: - DEFINES['__Userspace_os_%s' % CONFIG['OS_TARGET']] = 1 if CONFIG['OS_TARGET'] == 'Darwin': DEFINES['__APPLE_USE_RFC_2292'] = 1 - DEFINES['__APPLE__'] = False if CONFIG['OS_TARGET'] == 'Linux': # to make sure that in6_pktinfo gets defined on all distros DEFINES['_GNU_SOURCE'] = True -if CONFIG['OS_TARGET'] == 'FreeBSD': - DEFINES['__FreeBSD__'] = False - -if CONFIG['OS_TARGET'] == 'NetBSD': - DEFINES['__NetBSD__'] = False - -if CONFIG['OS_TARGET'] == 'OpenBSD': - DEFINES['__OpenBSD__'] = False - -if CONFIG['OS_TARGET'] == 'DragonFly': - DEFINES['__DragonFly__'] = False - NO_PGO = True # Don't PGO if CONFIG['GNU_CC']: -- cgit v1.2.3