mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
Use RsRandom name also inside windows #ifdef
This commit is contained in:
parent
6ca85ca7b6
commit
e655d4d257
@ -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…
Reference in New Issue
Block a user