summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorVassil Keremidchiev <varosi@gmail.com>2015-09-10 22:58:33 +0300
committerVassil Keremidchiev <varosi@gmail.com>2015-09-10 22:58:33 +0300
commit8e2dd649fe7a8e3218e9c77bba5d0c3b649a924a (patch)
treefef186486840908f900dbb7a8bd737a9cff3cd86 /packages
parente2e7221e6f44b920f5c3b2b5b6a101f6c8ac4442 (diff)
#125 If we use OS X and FreeBSD equivalent for urandom() it is working under Windows, too.
But tests are not run, yet.
Diffstat (limited to 'packages')
-rw-r--r--packages/base/src/Internal/C/vector-aux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/base/src/Internal/C/vector-aux.c b/packages/base/src/Internal/C/vector-aux.c
index a52b969..0b6b8b6 100644
--- a/packages/base/src/Internal/C/vector-aux.c
+++ b/packages/base/src/Internal/C/vector-aux.c
@@ -932,7 +932,7 @@ int vectorScan(char * file, int* n, double**pp){
932 932
933//////////////////////////////////////////////////////////////////////////////// 933////////////////////////////////////////////////////////////////////////////////
934 934
935#if defined (__APPLE__) || (__FreeBSD__) 935#if defined (__APPLE__) || (__FreeBSD__) || defined(_WIN32) || defined(WIN32)
936/* FreeBSD and Mac OS X do not provide random_r(), thread safety cannot be 936/* FreeBSD and Mac OS X do not provide random_r(), thread safety cannot be
937 guaranteed. 937 guaranteed.
938 For FreeBSD and Mac OS X, nrand48() is much better than random(). 938 For FreeBSD and Mac OS X, nrand48() is much better than random().