From f4b36c838652790bd3569950170df0ad979c027e Mon Sep 17 00:00:00 2001 From: jeremyd2019 Date: Mon, 24 Jul 2023 13:10:33 -0700 Subject: [PATCH] prefix asm symbols with _ on x86 Windows --- sha1/src/x86.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha1/src/x86.S b/sha1/src/x86.S index c7268e5..bda8be3 100644 --- a/sha1/src/x86.S +++ b/sha1/src/x86.S @@ -23,7 +23,7 @@ /* void sha1_compress(uint32_t state[5], const uint8_t block[64]) */ -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(_WIN32) .globl _sha1_compress _sha1_compress: #else