mirror of
https://github.com/git/git.git
synced 2026-02-11 02:08:39 +00:00
fixup! mingw: Fix the MSYS1 build
Let's really fix up the appropriate commit, to facilitate later upstream submission. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -2162,11 +2162,9 @@ int symlink(const char *target, const char *link)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef _WINNT_H
|
||||
/*
|
||||
* The REPARSE_DATA_BUFFER structure is defined in the Windows DDK (in
|
||||
* ntifs.h) and in MSYS1's winnt.h (which defines _WINNT_H). So define
|
||||
* it ourselves if we are on MSYS2 (whose winnt.h defines _WINNT_).
|
||||
* The REPARSE_DATA_BUFFER structure is only defined in the Windows DDK (in
|
||||
* Ntifs.h), so we have to define it ourselves.
|
||||
*/
|
||||
typedef struct _REPARSE_DATA_BUFFER {
|
||||
DWORD ReparseTag;
|
||||
@@ -2193,7 +2191,6 @@ typedef struct _REPARSE_DATA_BUFFER {
|
||||
} GenericReparseBuffer;
|
||||
} DUMMYUNIONNAME;
|
||||
} REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;
|
||||
#endif
|
||||
|
||||
int readlink(const char *path, char *buf, size_t bufsiz)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user