Fix build on MinGW-w64 x86

32 bit version of MinGW-64 __MINGW64__ is not defined
This commit is contained in:
Alexander Grund 2024-08-25 18:41:01 +02:00
parent 3f26465afb
commit f1bf0e01e2
No known key found for this signature in database
GPG Key ID: AA48A0760367A42B

View File

@ -27,7 +27,7 @@
// Test correct boost::filesystem::status when reparse point ReparseTag set to IO_REPARSE_TAG_FILE_PLACEHOLDER // Test correct boost::filesystem::status when reparse point ReparseTag set to IO_REPARSE_TAG_FILE_PLACEHOLDER
// https://docs.microsoft.com/en-us/windows/compatibility/placeholder-files?redirectedfrom=MSDN // https://docs.microsoft.com/en-us/windows/compatibility/placeholder-files?redirectedfrom=MSDN
#if !defined(__MINGW32__) || defined(__MINGW64__) // from ntifs.h, which can only be used by drivers
typedef struct _REPARSE_DATA_BUFFER typedef struct _REPARSE_DATA_BUFFER
{ {
ULONG ReparseTag; ULONG ReparseTag;
@ -58,7 +58,6 @@ typedef struct _REPARSE_DATA_BUFFER
} GenericReparseBuffer; } GenericReparseBuffer;
}; };
} REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER; } REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;
#endif
#ifndef IO_REPARSE_TAG_FILE_PLACEHOLDER #ifndef IO_REPARSE_TAG_FILE_PLACEHOLDER
#define IO_REPARSE_TAG_FILE_PLACEHOLDER (0x80000015L) #define IO_REPARSE_TAG_FILE_PLACEHOLDER (0x80000015L)