From 159cf04e86bc2d0ad6105322531aee750effb5c6 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 18 Sep 2000 11:44:40 +0000 Subject: [PATCH] cyclecount is only used when __GNUC__ isn't defined. --- crypto/rand/rand_win.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.25.1