mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-24 17:06:25 -05:00
Add alternatives for RtlGenRandom
This commit is contained in:
parent
10dba1356d
commit
8e2cb48ea7
2 changed files with 34 additions and 12 deletions
|
|
@ -34,10 +34,10 @@
|
|||
*/
|
||||
#define __USE_MINGW_ANSI_STDIO 1
|
||||
|
||||
/*
|
||||
* Define the MSVCRT version targetting Windows XP.
|
||||
/**
|
||||
* Define the MSVCRT version targetting Windows Vista.
|
||||
*/
|
||||
#define __MSVCRT_VERSION__ 0x0601
|
||||
#define __MSVCRT_VERSION__ 0x0600
|
||||
|
||||
/**
|
||||
* Include Windows Vista headers.
|
||||
|
|
@ -46,6 +46,11 @@
|
|||
*/
|
||||
#define _WIN32_WINNT 0x600
|
||||
|
||||
/**
|
||||
* Enable the rand_s() function.l
|
||||
*/
|
||||
#define _CRT_RAND_S
|
||||
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue