From 7bfa0970d4956d6d8197027fdc2dc4827acf8481 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Nov 2014 13:00:17 +0100 Subject: dosfs: Avoid MIN() re-definition --- cpukit/libfs/src/dosfs/fat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpukit/libfs/src/dosfs/fat.h b/cpukit/libfs/src/dosfs/fat.h index 2f0f75f984..26f0699e78 100644 --- a/cpukit/libfs/src/dosfs/fat.h +++ b/cpukit/libfs/src/dosfs/fat.h @@ -68,7 +68,9 @@ extern "C" { # define CT_LE_L(v) (v) #endif +#ifndef MIN #define MIN(a, b) (((a) < (b)) ? (a) : (b)) +#endif #define FAT_HASH_SIZE 2 #define FAT_HASH_MODULE FAT_HASH_SIZE -- cgit v1.2.3