mirror of
https://github.com/boostorg/filesystem.git
synced 2025-05-12 13:41:47 +00:00
Fix build on MinGW-w64 x86
32 bit version of MinGW-64 __MINGW64__ is not defined
This commit is contained in:
parent
3f26465afb
commit
f1bf0e01e2
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user