]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/crapto1/crypto1.c
fix: compile issue on RasPi (http://www.proxmark.org/forum/viewtopic.php?id=4678)
[proxmark3-svn] / common / crapto1 / crypto1.c
index a3f64a9f36a4fec38922f59cf76d63869a752529..61f6fe662639c6b64247da0a48adc22d8ba1efd9 100644 (file)
@@ -23,7 +23,7 @@
 #define SWAPENDIAN(x)\
        (x = (x >> 8 & 0xff00ff) | (x & 0xff00ff) << 8, x = x >> 16 | x << 16)
 
 #define SWAPENDIAN(x)\
        (x = (x >> 8 & 0xff00ff) | (x & 0xff00ff) << 8, x = x >> 16 | x << 16)
 
-#if defined(__arm__) && !defined(__linux__) && !defined(_WIN32)                        // bare metal ARM lacks malloc()/free()
+#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)
 {
        int i;
 void crypto1_create(struct Crypto1State *s, uint64_t key)
 {
        int i;
Impressum, Datenschutz