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
commit 759c16b31f
11 changed files with 106 additions and 35 deletions

View file

@ -16,8 +16,12 @@
#include <ctype.h>
#include <time.h>
#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
int ukbhit(void);