aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_random.c
diff options
context:
space:
mode:
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