Code maintenance for Qt 5:

- Added some more includes needed by MinGW-w64

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-10-21 11:00:49 +00:00
parent 3a72b27632
commit 9095e9bd75
31 changed files with 44 additions and 3 deletions

View file

@ -16,8 +16,13 @@ RsMutex RSRandom::rndMtx("RSRandom") ;
// have anyway)
//
#ifdef WINDOWS_SYS
#include <time.h>
#ifdef WIN_PTHREADS_H
static bool auto_seed = RSRandom::seed( (time(NULL) + ((uint32_t) pthread_self())*0x1293fe)^0x18e34a12 ) ;
#else
static bool auto_seed = RSRandom::seed( (time(NULL) + ((uint32_t) pthread_self().p)*0x1293fe)^0x18e34a12 ) ;
#endif
#endif
bool RSRandom::seed(uint32_t s)
{