Windows portability for srandom->srand random->rand
Allows omt-test to succeed

git-svn-id: file:///svn/tokudb.1131b+1080a+1185+nostatementexprs@6496 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Yoni Fogel 2013-04-16 23:57:22 -04:00
parent 1912f987a2
commit fc3fa5d809

View file

@ -45,6 +45,9 @@ typedef unsigned __int64 u_int64_t;
#define INT64_MAX _I64_MAX
#define UINT64_MAX _UI64_MAX
#define srandom srand
#define random rand
#define FAKE_WINDOWS_STUBS 0 // Disable these fakes.
#if FAKE_WINDOWS_STUBS == 1