FIX: this should fix the compilation error for MAC users.

This commit is contained in:
iceman1001 2016-06-20 13:32:22 +02:00
parent 3c61ee4338
commit ac36c57789

View file

@ -30,7 +30,10 @@
#ifdef __WIN32 #ifdef __WIN32
#include <windows.h> #include <windows.h>
#endif #endif
#include <malloc.h> // don't include for APPLE/mac which has malloc stuff elsewhere.
#ifndef __APPLE__
#include <malloc.h>
#endif
#include <assert.h> #include <assert.h>
#define CONFIDENCE_THRESHOLD 0.95 // Collect nonces until we are certain enough that the following brute force is successfull #define CONFIDENCE_THRESHOLD 0.95 // Collect nonces until we are certain enough that the following brute force is successfull