diff options
Diffstat (limited to 'src/utility.h')
-rw-r--r-- | src/utility.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utility.h b/src/utility.h index 3764616d0..008a95c38 100644 --- a/src/utility.h +++ b/src/utility.h @@ -1323,5 +1323,10 @@ private: MutexedQueue< GetRequest<Key, T, Caller, CallerData> > m_queue; }; +// Pseudo-random (VC++ rand() sucks) +int myrand(void); +void mysrand(unsigned seed); +#define MYRAND_MAX 32767 + #endif |