aboutsummaryrefslogtreecommitdiffstats
path: root/lib/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/misc.c')
-rw-r--r--lib/misc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/misc.c b/lib/misc.c
index f1da03cb..6ceb6f3c 100644
--- a/lib/misc.c
+++ b/lib/misc.c
@@ -419,7 +419,6 @@ signed int do_iconv( char *from_cs, char *to_cs, char *src, char *dst, size_t si
lack of entropy won't halt BitlBee. */
void random_bytes( unsigned char *buf, int count )
{
-#ifndef _WIN32
static int use_dev = -1;
/* Actually this probing code isn't really necessary, is it? */
@@ -469,7 +468,6 @@ void random_bytes( unsigned char *buf, int count )
}
if( !use_dev )
-#endif
{
int i;