summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2019-09-13 06:37:50 +0200
committerBernd Edlinger <bernd.edlinger@hotmail.de>2019-09-13 06:37:50 +0200
commit1c10029a68e910d936f9bf011f8c3bb18a05ff8b (patch)
treea86515ca25e22baaf832c90e182c57b32604541c
parentfc437d8dd388753ffb7cc0fd4413c449747616fa (diff)
Fix no-asm build in windows
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9885)
-rw-r--r--crypto/cryptlib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 5fab45b2ec..8a793cad9b 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -745,6 +745,11 @@ int OPENSSL_NONPIC_relocated = 0;
void OPENSSL_cpuid_setup(void)
{
}
+
+unsigned long OPENSSL_rdtsc(void)
+{
+ return 0;
+}
#endif
#if (defined(_WIN32) || defined(__CYGWIN__)) && defined(_WINDLL)