https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3e16fd698645f8d197ea2d9e01bd00e6afe8f2fa
commit 3e16fd698645f8d197ea2d9e01bd00e6afe8f2fa Author: Corinna Vinschen <[email protected]> Date: Thu Mar 1 16:50:41 2018 +0100 Cygwin: ntdll.h: drop macros available in mingw-w64 headers Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/cygwin/ntdll.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 448eadf..58d6342 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -8,18 +8,12 @@ #pragma once -#include <ntstatus.h> +#include <w32api/ntstatus.h> + /* custom status code: */ #define STATUS_ILLEGAL_DLL_PSEUDO_RELOCATION ((NTSTATUS) 0xe0000269) -/* As of March 2013, Mingw doesn't define these status codes yet. */ -#ifndef STATUS_NETWORK_OPEN_RESTRICTION -#define STATUS_NETWORK_OPEN_RESTRICTION ((NTSTATUS)0xC0000201) -#endif -#ifndef STATUS_SYMLINK_CLASS_DISABLED -#define STATUS_SYMLINK_CLASS_DISABLED ((NTSTATUS)0xC0000715) -#endif #define NtCurrentProcess() ((HANDLE) (LONG_PTR) -1) #define NtCurrentThread() ((HANDLE) (LONG_PTR) -2)
