diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-07-10 01:42:26 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-07-10 01:42:26 +0000 |
commit | 3a585b6fe13ff35b6c1ecf12295b2db75e9221c2 (patch) | |
tree | 698f4f368017a1dd58df118ab5b2225ee8129ca8 /src | |
parent | dbd0371b179c7fc4a6dae79ad66d149eff7687c9 (diff) |
Define MIN if not available
Diffstat (limited to 'src')
-rw-r--r-- | src/hci.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -45,6 +45,10 @@ #include <bluetooth/hci.h> #include <bluetooth/hci_lib.h> +#ifndef MIN +#define MIN(x, y) ((x) < (y) ? (x) : (y)) +#endif + typedef struct { char *str; unsigned int val; |