forked from Imagelibrary/rtems
Delete or rename MIN/MAX macros and defines
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
#define CONFIGURE_INIT
|
||||
#include "system.h"
|
||||
#include <sys/param.h>
|
||||
#include <crypt.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -214,10 +215,6 @@ fstab_t fs_table[] = {
|
||||
}
|
||||
};
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a,b) (((a) > (b)) ? (b) : (a))
|
||||
#endif
|
||||
|
||||
#define USE_SHELL
|
||||
|
||||
#ifdef USE_SHELL
|
||||
|
||||
Reference in New Issue
Block a user