mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
windoze version works again
This commit is contained in:
parent
6f73ec963a
commit
f04db56311
27 changed files with 803 additions and 409 deletions
|
@ -30,7 +30,7 @@
|
|||
#ifdef HAVE_GETHRTIME
|
||||
#include <sys/times.h>
|
||||
#endif
|
||||
#ifndef HAVE_GETTIMEOFTIME
|
||||
#ifdef HAVE_GETTIMEOFDAY
|
||||
#include <sys/times.h>
|
||||
#endif
|
||||
#ifdef HAVE_GETRUSAGE
|
||||
|
@ -65,7 +65,7 @@ fast_random_poll()
|
|||
tv = gethrtime();
|
||||
add_randomness( &tv, sizeof(tv), 1 );
|
||||
}
|
||||
#elif HAVE_GETTIMEOFTIME
|
||||
#elif HAVE_GETTIMEOFDAY
|
||||
{ struct timeval tv;
|
||||
if( gettimeofday( &tv, NULL ) )
|
||||
BUG();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue