mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
Use RsRandom name also inside windows #ifdef
This commit is contained in:
parent
6ca85ca7b6
commit
e655d4d257
1 changed files with 2 additions and 2 deletions
|
@ -39,11 +39,11 @@ RsMutex RsRandom::rndMtx("RsRandom");
|
|||
#ifdef WINDOWS_SYS
|
||||
# include "util/rstime.h"
|
||||
# ifdef WIN_PTHREADS_H
|
||||
static bool auto_seed = RSRandom::seed(
|
||||
static bool auto_seed = RsRandom::seed(
|
||||
(time(nullptr) +
|
||||
static_cast<uint32_t>(pthread_self()) *0x1293fe)^0x18e34a12 );
|
||||
# else // def WIN_PTHREADS_H
|
||||
static bool auto_seed = RSRandom::seed(
|
||||
static bool auto_seed = RsRandom::seed(
|
||||
(time(nullptr) +
|
||||
static_cast<uint32_t>(pthread_self().p)*0x1293fe)^0x18e34a12 );
|
||||
# endif // def WIN_PTHREADS_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue