summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index dec825794a8..3b9403d825e 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -439,6 +439,9 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Prope
unsigned int seed = static_cast<unsigned int>(IceUtil::Time::now().toMicroSeconds());
srand(seed);
+#ifndef _WIN32
+ srand48(seed);
+#endif
if(_properties->getPropertyAsInt("Ice.NullHandleAbort") > 0)
{