aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2022-06-06 10:44:01 -0400
committerKen Brown <kbrown@cornell.edu>2022-06-06 10:44:01 -0400
commitcb4b4548c828d3975266571190d67650d374339d (patch)
treec73ab8e61a30109442bf0775aded8cad78f5b245 /winsup
parent1f8235f6ba841a485dfaa1adc7196673b52e2aac (diff)
downloadnewlib-cb4b4548c828d3975266571190d67650d374339d.zip
newlib-cb4b4548c828d3975266571190d67650d374339d.tar.gz
newlib-cb4b4548c828d3975266571190d67650d374339d.tar.bz2
Cygwin: remove ntsecapi.h
This was a wrapper for w32api/ntsecapi.h. It was introduced to fix a bug that only affected 32-bit Cygwin, so it is no longer needed.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ntsecapi.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/winsup/cygwin/ntsecapi.h b/winsup/cygwin/ntsecapi.h
deleted file mode 100644
index 8b0a7e7..0000000
--- a/winsup/cygwin/ntsecapi.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef _CYGWIN_NTSECAPI_H
-#define _CYGWIN_NTSECAPI_H
-
-/* There's a bug in ntsecapi.h (Mingw as well as MSFT). SystemFunction036
- is, in fact, a WINAPI function, but it's not defined as such. Therefore
- we have to do it correctly here in the ntsecapi.h wrapper. */
-
-#define SystemFunction036 __nonexistant_SystemFunction036__
-
-#include_next <ntsecapi.h>
-
-#undef SystemFunction036
-
-#define RtlGenRandom SystemFunction036
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-BOOLEAN WINAPI RtlGenRandom (PVOID, ULONG);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* _CYGWIN_NTSECAPI_H */