summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_win.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-09-18 11:44:40 +0000
committerRichard Levitte <levitte@openssl.org>2000-09-18 11:44:40 +0000
commit159cf04e86bc2d0ad6105322531aee750effb5c6 (patch)
tree09cb5151b4dc0ad22e022647083f7c8377f4da68 /crypto/rand/rand_win.c
parent676432d4e1106681464e23442041c1559fb8e655 (diff)
cyclecount is only used when __GNUC__ isn't defined.
Diffstat (limited to 'crypto/rand/rand_win.c')
-rw-r--r--crypto/rand/rand_win.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c
index 2a4f767813..acdef30518 100644
--- a/crypto/rand/rand_win.c
+++ b/crypto/rand/rand_win.c
@@ -525,11 +525,12 @@ void RAND_screen(void) /* function available for backward compatibility */
/* feed timing information to the PRNG */
static void readtimer(void)
{
- DWORD w, cyclecount;
+ DWORD w;
LARGE_INTEGER l;
static int have_perfc = 1;
#ifndef __GNUC__
static int have_tsc = 1;
+ DWORD cyclecount;
if (have_tsc) {
__try {