From f62aa00a1eb1b2748a3b837f34f95cef0ab6f502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Wegner?= Date: Thu, 13 May 2021 16:54:49 +0200 Subject: [PATCH 1/2] inc: don't redeclare _FILE_FULL_EA_INFORMATION for mingw mingw-w64 declares _FILE_FULL_EA_INFORMATION since Jan 18, 2010 [1]. The change allows the winfsp client library to be consumed by projects built with mingw. [1]: https://github.com/mirror/mingw-w64/commit/afd1465722e7c116d9f55718551fe544cf57edd6 --- inc/winfsp/winfsp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/winfsp/winfsp.h b/inc/winfsp/winfsp.h index ff07e0b3..d573538c 100644 --- a/inc/winfsp/winfsp.h +++ b/inc/winfsp/winfsp.h @@ -91,6 +91,7 @@ typedef struct _REPARSE_DATA_BUFFER #if !defined(FILE_NEED_EA) #define FILE_NEED_EA 0x00000080 #endif +#if !defined(__MINGW32__) typedef struct _FILE_FULL_EA_INFORMATION { ULONG NextEntryOffset; @@ -99,6 +100,7 @@ typedef struct _FILE_FULL_EA_INFORMATION USHORT EaValueLength; CHAR EaName[1]; } FILE_FULL_EA_INFORMATION, *PFILE_FULL_EA_INFORMATION; +#endif /** * @group File System From bde57697f9d7be3d16e4fe39a2ecd7eebf79ed91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Wegner?= Date: Sat, 15 May 2021 14:58:40 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Add=20Pawe=C5=82=20Wegner=20to=20contributo?= =?UTF-8?q?rs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Contributors.asciidoc | 1 + 1 file changed, 1 insertion(+) diff --git a/Contributors.asciidoc b/Contributors.asciidoc index 733aa0ae..d598f008 100644 --- a/Contributors.asciidoc +++ b/Contributors.asciidoc @@ -65,6 +65,7 @@ CONTRIBUTOR LIST |Gal Hammer (Red Hat, https://www.redhat.com) |ghammer at redhat.com |John Oberschelp |john at oberschelp.net |John Tyner |jtyner at gmail.com +|Paweł Wegner (Google LLC, https://google.com) |lemourin at google.com |Pedro Frejo (Arpa System, https://arpasystem.com) |pedro.frejo at arpasystem.com |Sam Kelly (DuroSoft Technologies LLC, https://durosoft.com) |sam at durosoft.com |Santiago Ganis |sganis at gmail.com