Skip to content

Commit

Permalink
Fix build on MinGW-w64 x86
Browse files Browse the repository at this point in the history
32 bit version of MinGW-64 __MINGW64__ is not defined
  • Loading branch information
Flamefire committed Aug 25, 2024
1 parent ac94c48 commit 1b77a3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/issues/reparse_tag_file_placeholder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// 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

#if !defined(__MINGW32__) || defined(__MINGW64__)
// from ntifs.h, which can only be used by drivers
typedef struct _REPARSE_DATA_BUFFER
{
ULONG ReparseTag;
Expand Down Expand Up @@ -58,7 +58,6 @@ typedef struct _REPARSE_DATA_BUFFER
} GenericReparseBuffer;
};
} REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;
#endif

#ifndef IO_REPARSE_TAG_FILE_PLACEHOLDER
#define IO_REPARSE_TAG_FILE_PLACEHOLDER (0x80000015L)
Expand Down

0 comments on commit 1b77a3b

Please sign in to comment.