diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-06-30 00:41:39 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-06-30 00:41:39 +0100 |
commit | f5d1b3185140e690a6503b9e68c7ea28655b405e (patch) | |
tree | f679a139ecca219aa2c7a07adcaefd3000c8c801 /lib/misc.c | |
parent | cd63d5822e76a6126bb3017567c9ce2869a44e0b (diff) | |
parent | 913545e54123296fb8229ecad2c77a6e899e0242 (diff) |
Merging changes from Jelmer: It's now possible to cross-compile a Windows
version of BitlBee from Linux. No working SSL support yet though!
Diffstat (limited to 'lib/misc.c')
-rw-r--r-- | lib/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -372,6 +372,7 @@ 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? */ @@ -421,6 +422,7 @@ void random_bytes( unsigned char *buf, int count ) } if( !use_dev ) +#endif { int i; |