X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/275111f6ff2071a6ffb87f77c3a65730c6ec3d02..bd2797de1538c58232cffd8ec04a23fea23114f9:/common/crapto1/crapto1.h diff --git a/common/crapto1/crapto1.h b/common/crapto1/crapto1.h index e718b1f2..96ab96a2 100644 --- a/common/crapto1/crapto1.h +++ b/common/crapto1/crapto1.h @@ -25,7 +25,7 @@ extern "C" { #endif struct Crypto1State {uint32_t odd, even;}; -#if defined(__arm__) +#if defined(__arm__) && !defined(__linux__) && !defined(_WIN32) && !defined(__APPLE__) // bare metal ARM Proxmark lacks malloc()/free() void crypto1_create(struct Crypto1State *s, uint64_t key); #else struct Crypto1State *crypto1_create(uint64_t key);