mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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@6861 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9095e9bd75
commit
ec08eba2c9
@ -31,6 +31,7 @@
|
||||
#include <iomanip>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
/***
|
||||
* #define UDP_ENABLE_BROADCAST 1
|
||||
|
@ -1,13 +1,14 @@
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include "util/bdrandom.h"
|
||||
|
||||
uint32_t bdRandom::index = 0 ;
|
||||
std::vector<uint32_t> bdRandom::MT(bdRandom::N,0u) ;
|
||||
bdMutex bdRandom::rndMtx ;
|
||||
|
||||
#if defined(_WIN32) || defined(__MINGW32__)
|
||||
#if (defined(_WIN32) || defined(__MINGW32__)) && !defined(WIN_PTHREADS_H)
|
||||
static bool auto_seed = bdRandom::seed( (time(NULL) + ((uint32_t) pthread_self().p)*0x1293fe)^0x18e34a12 ) ;
|
||||
#else
|
||||
#ifdef __APPLE__
|
||||
|
Loading…
Reference in New Issue
Block a user