diff options
author | Ulf Möller <ulf@openssl.org> | 2000-12-01 03:06:55 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-12-01 03:06:55 +0000 |
commit | 99cf5acd5c7a5ee264c6c78d45cad9beedb8ba47 (patch) | |
tree | 098afe1d91ce085837ac685d1b8983f81846dfba | |
parent | d2c38b1c737b4f154d4a5d3a6a1e0e2ca0093178 (diff) | |
download | openssl-99cf5acd5c7a5ee264c6c78d45cad9beedb8ba47.tar.gz |
fix for Borland C
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | crypto/rand/rand_win.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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; |