X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/660d641a03456e99ea83c68dbd3d03bae2b64573..bb42a03ef1318442fa0e8e2e07c7dbf8bd49fc96:/include/common.h?ds=inline

diff --git a/include/common.h b/include/common.h
index ba286377..feed109c 100644
--- a/include/common.h
+++ b/include/common.h
@@ -18,7 +18,13 @@
 #include <at91sam7s512.h>
 typedef unsigned char byte_t;
 
-#define MIN(a, b) (((a) < (b)) ? (a) : (b))
-#define MAX(a, b) (((a) > (b)) ? (a) : (b))
+#ifndef MIN
+# define MIN(a, b) (((a) < (b)) ? (a) : (b))
+#endif
+#ifndef MAX
+# define MAX(a, b) (((a) > (b)) ? (a) : (b))
+#endif
+
+#define RAMFUNC __attribute((long_call, section(".ramfunc")))
 
 #endif