diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-17 13:00:17 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-20 10:30:23 +0100 |
commit | 7bfa0970d4956d6d8197027fdc2dc4827acf8481 (patch) | |
tree | 0e271f5ab5fe9789d445bcbb494d9d94d93f44b3 | |
parent | Filesystem: Typo (diff) | |
download | rtems-7bfa0970d4956d6d8197027fdc2dc4827acf8481.tar.bz2 |
dosfs: Avoid MIN() re-definition
-rw-r--r-- | cpukit/libfs/src/dosfs/fat.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |