Merge pull request #371 from lemourin/mingw-fix

inc: don't redeclare _FILE_FULL_EA_INFORMATION for mingw
This commit is contained in:
Bill Zissimopoulos 2021-05-17 10:00:17 -07:00 committed by GitHub
commit 23e401e312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,7 @@ CONTRIBUTOR LIST
|Gal Hammer (Red Hat, https://www.redhat.com) |ghammer at redhat.com |Gal Hammer (Red Hat, https://www.redhat.com) |ghammer at redhat.com
|John Oberschelp |john at oberschelp.net |John Oberschelp |john at oberschelp.net
|John Tyner |jtyner at gmail.com |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 |Pedro Frejo (Arpa System, https://arpasystem.com) |pedro.frejo at arpasystem.com
|Sam Kelly (DuroSoft Technologies LLC, https://durosoft.com) |sam at durosoft.com |Sam Kelly (DuroSoft Technologies LLC, https://durosoft.com) |sam at durosoft.com
|Santiago Ganis |sganis at gmail.com |Santiago Ganis |sganis at gmail.com

View File

@ -91,6 +91,7 @@ typedef struct _REPARSE_DATA_BUFFER
#if !defined(FILE_NEED_EA) #if !defined(FILE_NEED_EA)
#define FILE_NEED_EA 0x00000080 #define FILE_NEED_EA 0x00000080
#endif #endif
#if !defined(__MINGW32__)
typedef struct _FILE_FULL_EA_INFORMATION typedef struct _FILE_FULL_EA_INFORMATION
{ {
ULONG NextEntryOffset; ULONG NextEntryOffset;
@ -99,6 +100,7 @@ typedef struct _FILE_FULL_EA_INFORMATION
USHORT EaValueLength; USHORT EaValueLength;
CHAR EaName[1]; CHAR EaName[1];
} FILE_FULL_EA_INFORMATION, *PFILE_FULL_EA_INFORMATION; } FILE_FULL_EA_INFORMATION, *PFILE_FULL_EA_INFORMATION;
#endif
/** /**
* @group File System * @group File System