Skip to content

Commit

Permalink
Fix build on Aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
pooler committed Apr 29, 2021
1 parent b5071a8 commit 5f02105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void sha256_transform(uint32_t *state, const uint32_t *block, int swap);
void sha256d(unsigned char *hash, const unsigned char *data, int len);

#ifdef USE_ASM
#if defined(__ARM_NEON__) || defined(__ALTIVEC__) || defined(__i386__) || defined(__x86_64__)
#if (defined(__APCS_32__) && defined(__ARM_NEON__)) || defined(__ALTIVEC__) || defined(__i386__) || defined(__x86_64__)
#define HAVE_SHA256_4WAY 1
int sha256_use_4way();
void sha256_init_4way(uint32_t *state);
Expand Down

0 comments on commit 5f02105

Please sign in to comment.