summaryrefslogtreecommitdiff
path: root/src/mongo/platform
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-11-16 15:10:18 -0500
committerEric Milkie <milkie@10gen.com>2012-11-16 15:10:18 -0500
commitdb32bd45983ba3e9caa0c0b4eaad01585f302303 (patch)
treec113f39af7c16e61477ddf7e21dd535892eddbb7 /src/mongo/platform
parentef604e29ee24e64700ab135d952de71c69de0714 (diff)
downloadmongo-db32bd45983ba3e9caa0c0b4eaad01585f302303.tar.gz
really fix Windows compile for PseudoRandom (thoroughly tested)
Diffstat (limited to 'src/mongo/platform')
-rw-r--r--src/mongo/platform/random.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/platform/random.cpp b/src/mongo/platform/random.cpp
index ef4a0f741fc..d1a620d6a74 100644
--- a/src/mongo/platform/random.cpp
+++ b/src/mongo/platform/random.cpp
@@ -22,9 +22,9 @@
#ifndef _WIN32
#include <errno.h>
-#define _CRT_RAND_S
#endif
+#define _CRT_RAND_S
#include <cstdlib>
#include <iostream>
#include <fstream>