mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
Addresses #1185
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:
parent
1912f987a2
commit
fc3fa5d809
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue