From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 47CFE1F518 for ; Mon, 20 May 2024 19:07:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1716232058; bh=242Md26sxYhUc6m/cBxxKI8VCq4nezZ6xBBmlRBQa7k=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Bf+H4D2AENhC6gacuzYdtIS+xSLxq3XJ9aw0FmHS9g05UOzb8CnE/VnK+YUKK4pNT MrTwGR5OEH4WA9VqnlQb2Et83CU4dIFlIvpDtra5H6CKWZHLZNu0ckmTXJMLasHWXD bwEXJvZWLPPuNYeGXO/vlNBllkHZtVQDUQ6mlf+0= Date: Mon, 20 May 2024 18:59:24 +0000 From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 10/9] xap_helper.h: fix CPP error on non-glibc Message-ID: <20240520185924.M219491@dcvr> References: <20240519215509.2267117-1-e@80x24.org> <20240519215509.2267117-4-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240519215509.2267117-4-e@80x24.org> List-Id: Noticed on a FreeBSD system. --- lib/PublicInbox/xap_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/xap_helper.h b/lib/PublicInbox/xap_helper.h index 831afdc6..51ab48bf 100644 --- a/lib/PublicInbox/xap_helper.h +++ b/lib/PublicInbox/xap_helper.h @@ -95,7 +95,7 @@ static void *xcalloc(size_t nmemb, size_t size) #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) && \ MY_VER(__GLIBC__, __GLIBC_MINOR__, 0) >= MY_VER(2, 28, 0) # define HAVE_REALLOCARRAY 1 -#elif (defined(__OpenBSD__) || defined(__DragonFly__) || \ +#elif defined(__OpenBSD__) || defined(__DragonFly__) || \ defined(__FreeBSD__) || defined(__NetBSD__) # define HAVE_REALLOCARRAY 1 #endif