summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2018-03-01 16:50:41 +0100
committerCorinna Vinschen <corinna@vinschen.de>2018-03-01 16:50:41 +0100
commit3e16fd698645f8d197ea2d9e01bd00e6afe8f2fa (patch)
treee1bd9051a90af8b4382f857754e6ef46c4955ead
parent28cf818c2eb7045c5a60ba4d4ae0a524f5c0162e (diff)
downloadcygnal-3e16fd698645f8d197ea2d9e01bd00e6afe8f2fa.tar.gz
cygnal-3e16fd698645f8d197ea2d9e01bd00e6afe8f2fa.tar.bz2
cygnal-3e16fd698645f8d197ea2d9e01bd00e6afe8f2fa.zip
Cygwin: ntdll.h: drop macros available in mingw-w64 headers
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/ntdll.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h
index 448eadf20..58d63425e 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)