Putting back a "defined(__OSX__)" that has been removed in the

previous *BSD patch. Thanks to Chris Pickel for pointing it out.


git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@289 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Marcelo Roberto Jimenez 2008-01-13 05:33:35 +00:00
parent 5756f589d7
commit f94b090c80
3 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,9 @@ Version 1.6.4
@name UPNP_E_UNSUBSCRIBE_UNACCAPTED [-302] @name UPNP_E_UNSUBSCRIBE_UNACCAPTED [-302]
Also, the documentation file name was mispelled and was corrected in Also, the documentation file name was mispelled and was corrected in
the Makefile.am. the Makefile.am.
2008-01-07 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
* Putting back a "defined(__OSX__)" that has been removed in the
previous *BSD patch. Thanks to Chris Pickel for pointing it out.
******************************************************************************* *******************************************************************************
Version 1.6.3 Version 1.6.3

1
THANKS
View File

@ -10,6 +10,7 @@ exempt of errors.
- Arno Willig - Arno Willig
- Bob Ciora - Bob Ciora
- Chaos - Chaos
- Chris Pickel
- Craig Nelson - Craig Nelson
- David Maass - David Maass
- Emil Ljungdahl - Emil Ljungdahl

View File

@ -389,7 +389,7 @@ static void SetSeed()
gettimeofday(&t, NULL); gettimeofday(&t, NULL);
#if defined(WIN32) #if defined(WIN32)
srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id().p ); srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id().p );
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__) || defined(__OSX__)
srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id() ); srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id() );
#elif defined(__linux__) #elif defined(__linux__)
srand( ( unsigned int )t.tv_usec + ithread_get_current_thread_id() ); srand( ( unsigned int )t.tv_usec + ithread_get_current_thread_id() );