Win32 sys_init(): initialize the random seed (or we use the same random values for every process)

This commit is contained in:
Simon Goldschmidt 2011-09-11 12:46:18 +02:00
parent d1bf1ee0da
commit 7f3c08494a
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ void sys_arch_unprotect(u32_t pval)
void msvc_sys_init()
{
srand(time(0));
sys_init_timing();
InitSysArchProtect();
}