From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B2FBC43C93; Tue, 12 Mar 2024 17:52:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2285942D28; Tue, 12 Mar 2024 17:52:44 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 0A08740ED9 for ; Tue, 12 Mar 2024 17:52:42 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 5EB7B20B74C2; Tue, 12 Mar 2024 09:52:41 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 5EB7B20B74C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1710262361; bh=/fgKiu3Vu6oYr47q68447eDaZvcvKINSg5ZwHNfU2kw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nIXtSOdbS8OQPVcWXDpSQCu68FUP+0k5bwmg9rmtCD+2SDEBgyKEIJgLPIif/DkXg +BogKHAjFjJkMzHu4vUSbow6M0X5ASG/6dJblJThh5o4JqaAuft9+0GRPpLOkbpjN4 uYatGQUV6eXVHV+Y53ngRL+A7dS8q/1Gg+L//oq0= From: Tyler Retzlaff To: dev@dpdk.org Cc: Dmitry Kozlyuk , Pallavi Kadam , Tyler Retzlaff Subject: [PATCH v5 1/2] eal/windows: make dirent.h shim compatible with MinGW Date: Tue, 12 Mar 2024 09:52:38 -0700 Message-Id: <1710262359-14217-2-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1710262359-14217-1-git-send-email-roretzla@linux.microsoft.com> References: <1701976851-17275-1-git-send-email-roretzla@linux.microsoft.com> <1710262359-14217-1-git-send-email-roretzla@linux.microsoft.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Include winapifamily.h for WINAPI_FAMILY macro and provide a definition of WINAPI_FAMILY_PHONE_APP if not present (happens compiling under mingw) Signed-off-by: Tyler Retzlaff Acked-by: Dmitry Kozlyuk --- lib/eal/windows/include/dirent.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/eal/windows/include/dirent.h b/lib/eal/windows/include/dirent.h index b522424..80bc6c3 100644 --- a/lib/eal/windows/include/dirent.h +++ b/lib/eal/windows/include/dirent.h @@ -8,6 +8,12 @@ #ifndef DIRENT_H #define DIRENT_H +#include + +#ifndef WINAPI_FAMILY_PHONE_APP +#define WINAPI_FAMILY_PHONE_APP 3 +#endif + /* * Include windows.h without Windows Sockets 1.1 to prevent conflicts with * Windows Sockets 2.0. -- 1.8.3.1