diff options
Diffstat (limited to 'CPP/7zip/Crypto/RandGen.cpp')
-rw-r--r-- | CPP/7zip/Crypto/RandGen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CPP/7zip/Crypto/RandGen.cpp b/CPP/7zip/Crypto/RandGen.cpp index f5ea31f0..408f73f1 100644 --- a/CPP/7zip/Crypto/RandGen.cpp +++ b/CPP/7zip/Crypto/RandGen.cpp @@ -73,8 +73,10 @@ void CRandomGenerator::Init() HASH_UPD(v2); #endif + #ifdef _WIN32 DWORD tickCount = ::GetTickCount(); HASH_UPD(tickCount); + #endif for (unsigned j = 0; j < 100; j++) { |