client should compile without warnings on linux, mac, windows

This commit is contained in:
roel@libnfc.org 2013-03-14 15:03:04 +00:00
parent 19d9a7b0ce
commit 759c16b31f
11 changed files with 106 additions and 35 deletions

View file

@ -18,7 +18,11 @@
#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
#endif