From f1559722eb7a502128a07435149988f49b627bc5 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 7 May 2004 20:29:24 +0000 Subject: 2004-05-07 Jeff Johnston * libc/include/sys/param.h: Remove endian info and include instead. * libc/include/machine/endian.h: New file. * libc/machine/arm/machine/endian.h: Ditto. * libc/machine/arm/machine/param.h: Ditto. * libc/sys/arm/sys/param.h: Removed. * libc/sys/sysvi386/sys/param.h: Ditto. * libc/sys/rtems/sys/param.h: Modified to include . --- newlib/libc/include/sys/param.h | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'newlib/libc/include/sys/param.h') diff --git a/newlib/libc/include/sys/param.h b/newlib/libc/include/sys/param.h index 9676c910a..7e8762a65 100644 --- a/newlib/libc/include/sys/param.h +++ b/newlib/libc/include/sys/param.h @@ -6,27 +6,20 @@ # define _SYS_PARAM_H #include +#include +#include -#ifndef BIG_ENDIAN -#define BIG_ENDIAN 4321 -#endif -#ifndef LITTLE_ENDIAN -#define LITTLE_ENDIAN 1234 -#endif - +#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)) -#ifndef BYTE_ORDER -#ifdef __IEEE_LITTLE_ENDIAN -#define BYTE_ORDER LITTLE_ENDIAN -#else -#define BYTE_ORDER BIG_ENDIAN -#endif -#endif - #endif -- cgit v1.2.3