Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Crypto/RandGen.cpp')
-rw-r--r--CPP/7zip/Crypto/RandGen.cpp2
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++)
{