head 1.2; access; symbols pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.24 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.20 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.18 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.16 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.14 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.12 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.10 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.8 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.6 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.4 pkgsrc-2017Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2020.05.17.00.47.06; author tnn; state dead; branches; next 1.1; commitid by06jUrXKAUzQw8C; 1.1 date 2017.09.04.16.00.19; author joerg; state Exp; branches; next ; commitid eSbC8APgxCt2BT5A; desc @@ 1.2 log @retire lang/openjdk7 @ text @$NetBSD: patch-hotspot_src_share_vm_gc__implementation_g1_heapRegionSet.hpp,v 1.1 2017/09/04 16:00:19 joerg Exp $ defined() in macros is UB. --- hotspot/src/share/vm/gc_implementation/g1/heapRegionSet.hpp.orig 2017-09-04 13:24:02.725351260 +0000 +++ hotspot/src/share/vm/gc_implementation/g1/heapRegionSet.hpp @@@@ -35,7 +35,11 @@@@ typedef FormatBuffer // HEAP_REGION_SET_FORCE_VERIFY to be 1, or in builds in which // asserts are compiled in. #ifndef HEAP_REGION_SET_FORCE_VERIFY -#define HEAP_REGION_SET_FORCE_VERIFY defined(ASSERT) +#if defined(ASSERT) +#define HEAP_REGION_SET_FORCE_VERIFY 1 +#else +#define HEAP_REGION_SET_FORCE_VERIFY 0 +#endif #endif // HEAP_REGION_SET_FORCE_VERIFY //////////////////// HeapRegionSetBase //////////////////// @ 1.1 log @Fix portability issues. @ text @d1 1 a1 1 $NetBSD$ @