mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-07-07 20:29:04 +00:00
Win32 sys_init(): initialize the random seed (or we use the same random values for every process)
This commit is contained in:
parent
d1bf1ee0da
commit
7f3c08494a
@ -90,6 +90,7 @@ void sys_arch_unprotect(u32_t pval)
|
||||
|
||||
void msvc_sys_init()
|
||||
{
|
||||
srand(time(0));
|
||||
sys_init_timing();
|
||||
InitSysArchProtect();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user