diff --git a/ChangeLog b/ChangeLog index 731a9af..7a52dfa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ Version 1.6.7 ******************************************************************************* +2008-04-28 Marcelo Jimenez + * Fix in function SetSeed() in threadutil/src/ThreadPool.c for CYGWIN + compilation. Thanks to Gary Chan. ******************************************************************************* Version 1.6.6 diff --git a/threadutil/src/ThreadPool.c b/threadutil/src/ThreadPool.c index 21fde9c..2a9a0a7 100644 --- a/threadutil/src/ThreadPool.c +++ b/threadutil/src/ThreadPool.c @@ -391,7 +391,7 @@ static void SetSeed() srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id().p ); #elif defined(__FreeBSD__) || defined(__OSX__) || defined(__APPLE__) srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id() ); -#elif defined(__linux__) || defined(__sun) +#elif defined(__linux__) || defined(__sun) || defined(__CYGWIN__) srand( ( unsigned int )t.tv_usec + ithread_get_current_thread_id() ); #else {