summaryrefslogtreecommitdiff
path: root/openpicc/application/openpicc.h
diff options
context:
space:
mode:
Diffstat (limited to 'openpicc/application/openpicc.h')
-rw-r--r--openpicc/application/openpicc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpicc/application/openpicc.h b/openpicc/application/openpicc.h
index b4d2b7a..17cb4ee 100644
--- a/openpicc/application/openpicc.h
+++ b/openpicc/application/openpicc.h
@@ -39,5 +39,6 @@ typedef int s_int32_t;
#define DA_BASELINE 200
#define DIV_ROUND_UP(a,b) ( (a+(b-1)) / b)
+#define MIN(a, b) ((a)>(b)?(b):(a))
#endif/*__OPENPICC_H__*/
personal git repositories of Harald Welte. Your mileage may vary