projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #49 from micolous/less-verbose-mfsim
[proxmark3-svn]
/
include
/
common.h
diff --git
a/include/common.h
b/include/common.h
index feed109c2dfe3faa216edb89fd0852100b542896..2a67bd879c360c3c9363cfc26b098cdc697396d2 100644
(file)
--- a/
include/common.h
+++ b/
include/common.h
@@
-21,10
+21,13
@@
typedef unsigned char byte_t;
#ifndef MIN
# define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef MIN
# define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
+
#ifndef MAX
# define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif
#ifndef MAX
# define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif
+#ifndef ABS
+# define ABS(a) ( ((a)<0) ? -(a) : (a) )
+#endif
#define RAMFUNC __attribute((long_call, section(".ramfunc")))
#define RAMFUNC __attribute((long_call, section(".ramfunc")))
-
#endif
#endif
Impressum
,
Datenschutz