win: fix and clarify comments in winapi.h
PR-URL: https://github.com/libuv/libuv/pull/105 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
1b0ac59179
commit
dfd908fc9b
@ -4104,12 +4104,14 @@
|
|||||||
# define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE 0x00002000
|
# define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE 0x00002000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* from ntifs.h */
|
||||||
#ifndef DEVICE_TYPE
|
#ifndef DEVICE_TYPE
|
||||||
# define DEVICE_TYPE DWORD
|
# define DEVICE_TYPE DWORD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* from ntifs.h */
|
/* MinGW already has a definition for REPARSE_DATA_BUFFER, but mingw-w64 does
|
||||||
/* MinGW already has it, mingw-w64 does not. */
|
* not.
|
||||||
|
*/
|
||||||
#if defined(_MSC_VER) || defined(__MINGW64_VERSION_MAJOR)
|
#if defined(_MSC_VER) || defined(__MINGW64_VERSION_MAJOR)
|
||||||
typedef struct _REPARSE_DATA_BUFFER {
|
typedef struct _REPARSE_DATA_BUFFER {
|
||||||
ULONG ReparseTag;
|
ULONG ReparseTag;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user