Define RtlGenRandom correctly in ntsecapi.h wrapper

Include ntsecapi.h where required and just redefine RtlGenRandom
correctly in the ntsecapi.h wrapper.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2016-12-14 14:14:28 +01:00
parent 74f7872f89
commit 86fc4bf065
5 changed files with 29 additions and 6 deletions

View File

@@ -21,6 +21,7 @@
#undef u_long
#define u_long __ms_u_long
#endif
#include <ntsecapi.h>
#include <ws2tcpip.h>
#include <mswsock.h>
#include <iphlpapi.h>