From 99cf5acd5c7a5ee264c6c78d45cad9beedb8ba47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Fri, 1 Dec 2000 03:06:55 +0000 Subject: [PATCH] fix for Borland C --- CHANGES | 3 +++ crypto/rand/rand_win.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index b55d49e07c..242e68167c 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,9 @@ Changes between 0.9.6 and 0.9.6a [xx XXX 2000] + *) rand_win.c fix for Borland C. + [Ulf Möller] + *) BN_rshift bugfix for n == 0. [Bodo Moeller] diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index 9f2dcff9a9..8850b9ae91 100644 --- a/crypto/rand/rand_win.c +++ b/crypto/rand/rand_win.c @@ -570,7 +570,7 @@ static void readtimer(void) DWORD w; LARGE_INTEGER l; static int have_perfc = 1; -#ifndef __GNUC__ +#ifdef _MSC_VER static int have_tsc = 1; DWORD cyclecount;