From dfd908fc9b0d9479f2cf8f7d44626ef7d33d2b05 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sat, 3 Jan 2015 21:32:10 +0100 Subject: [PATCH] win: fix and clarify comments in winapi.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/libuv/libuv/pull/105 Reviewed-By: Ben Noordhuis Reviewed-By: Saúl Ibarra Corretgé --- src/win/winapi.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/win/winapi.h b/src/win/winapi.h index 1bb0e9aa..70dd6fff 100644 --- a/src/win/winapi.h +++ b/src/win/winapi.h @@ -4104,12 +4104,14 @@ # define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE 0x00002000 #endif +/* from ntifs.h */ #ifndef DEVICE_TYPE # define DEVICE_TYPE DWORD #endif -/* from ntifs.h */ -/* MinGW already has it, mingw-w64 does not. */ +/* MinGW already has a definition for REPARSE_DATA_BUFFER, but mingw-w64 does + * not. + */ #if defined(_MSC_VER) || defined(__MINGW64_VERSION_MAJOR) typedef struct _REPARSE_DATA_BUFFER { ULONG ReparseTag;