aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_random.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2013-06-18 02:49:20 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2013-06-18 02:49:20 +0000
commitd988c24f3d7509c1bc6a432766e7a0753760b1b1 (patch)
treed483fc8a598e4661d1782980a0c98d292a7731b7 /src/util/crypto_random.c
parent60fabb656fc659b254c2e542b0288d928ae191d8 (diff)
downloadgnunet-d988c24f3d7509c1bc6a432766e7a0753760b1b1.tar.gz
gnunet-d988c24f3d7509c1bc6a432766e7a0753760b1b1.zip
Generalize condition for missing random/srandom.
Diffstat (limited to 'src/util/crypto_random.c')
-rw-r--r--src/util/crypto_random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto_random.c b/src/util/crypto_random.c
index 8ba6641b9..ca0d7ccc0 100644
--- a/src/util/crypto_random.c
+++ b/src/util/crypto_random.c
@@ -37,7 +37,7 @@
37 37
38/* TODO: ndurner, move this to plibc? */ 38/* TODO: ndurner, move this to plibc? */
39/* The code is derived from glibc, obviously */ 39/* The code is derived from glibc, obviously */
40#if MINGW 40#if !HAVE_RANDOM || !HAVE_SRANDOM
41#ifdef RANDOM 41#ifdef RANDOM
42#undef RANDOM 42#undef RANDOM
43#endif 43#endif