Browse Source

Fixing build for msvc

cl-refactor
Lefteris Karapetsas 10 years ago
parent
commit
206bfe29cf
  1. 3
      io.h

3
io.h

@ -32,7 +32,8 @@ typedef struct ethash_blockhash { uint8_t b[32]; } ethash_blockhash_t;
static const char DAG_FILE_NAME[] = "full";
static const char DAG_MEMO_NAME[] = "full.info";
static const unsigned int DAG_MEMO_BYTESIZE = 36;
// MSVC thinks that "static const unsigned int" is not a compile time variable. Sorry for the #define :(
#define DAG_MEMO_BYTESIZE 36
/// Possible return values of @see ethash_io_prepare
enum ethash_io_rc {

Loading…
Cancel
Save