diff options
Diffstat (limited to 'newlib/libc/include/sys/param.h')
-rw-r--r-- | newlib/libc/include/sys/param.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/newlib/libc/include/sys/param.h b/newlib/libc/include/sys/param.h index 7e8762a65..3470ef5d0 100644 --- a/newlib/libc/include/sys/param.h +++ b/newlib/libc/include/sys/param.h @@ -5,21 +5,14 @@ #ifndef _SYS_PARAM_H # define _SYS_PARAM_H -#include <sys/config.h> -#include <machine/endian.h> -#include <machine/param.h> - -#ifndef HZ # define HZ (60) -#endif -#ifndef NOFILE # define NOFILE (60) -#endif -#ifndef PATHSIZE # define PATHSIZE (1024) -#endif -#define MAX(a,b) ((a) > (b) ? (a) : (b)) -#define MIN(a,b) ((a) < (b) ? (a) : (b)) +#ifdef __i386__ +#define BIG_ENDIAN 4321 +#define LITTLE_ENDIAN 1234 +#define BYTE_ORDER LITTLE_ENDIAN +#endif #endif |