Skip to content

Commit

Permalink
correct compatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
djm34 committed Sep 1, 2014
1 parent 6d46c8c commit 3cd198a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion cpu-miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
#include <cmath>
#include <math.h>
#ifdef WIN32

#include <windows.h>
#else
#include <errno.h>
Expand Down
6 changes: 3 additions & 3 deletions x13/m7.cu
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ inline void m7_hash(void *state, const void *input,uint32_t TheNonce, int debug)
mpz_init(product);


__declspec(align(128)) uint32_t data[32] ;
uint32_t data[32] ;
uint32_t *data_p64 = data + (116 / sizeof(data[0]));
__declspec(align(32)) uint8_t bhash[7][64];
__declspec(align(32)) uint32_t hash[8];
uint8_t bhash[7][64];
uint32_t hash[8];
memcpy(data,input,122);


Expand Down

0 comments on commit 3cd198a

Please sign in to comment.