Fix in function SetSeed() in threadutil/src/ThreadPool.c for CYGWIN
compilation. Thanks to Gary Chan. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/branches/branch-1.6.x@355 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
b7b3bb7d05
commit
94e4a3bdda
@ -2,6 +2,9 @@
|
||||
Version 1.6.7
|
||||
*******************************************************************************
|
||||
|
||||
2008-04-28 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Fix in function SetSeed() in threadutil/src/ThreadPool.c for CYGWIN
|
||||
compilation. Thanks to Gary Chan.
|
||||
|
||||
*******************************************************************************
|
||||
Version 1.6.6
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user