From fc3fa5d809731ff03db9a4f162cb5bed1906cbac Mon Sep 17 00:00:00 2001 From: Yoni Fogel Date: Tue, 16 Apr 2013 23:57:22 -0400 Subject: [PATCH] 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 --- newbrt/portability.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/newbrt/portability.h b/newbrt/portability.h index d81c97799e5..78e823d231e 100644 --- a/newbrt/portability.h +++ b/newbrt/portability.h @@ -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